[Date Prev][Date Next][Thread Prev][Thread Next][Thread Index]
[XaraXtreme-commits] Commit Complete
Commit by : phil
Repository : xara
Revision : 1072
Date : Tue May 16 12:33:11 BST 2006
Changed paths:
M /Trunk/XaraLX/wxOil/camdoc.cpp
Get document title directly from filename after opening because the Title has not been set at that point.
Fixes BZ1051
Diff:
Index: Trunk/XaraLX/wxOil/camdoc.cpp
===================================================================
--- Trunk/XaraLX/wxOil/camdoc.cpp (revision 1071)
+++ Trunk/XaraLX/wxOil/camdoc.cpp (revision 1072)
@@ -851,7 +851,7 @@
// StatusLine::SetPrefix(String_64(_R(IDS_WAIT_OPENING_DOC_PFX)));
// Get the title from MFC - we use it as a prefix to the whole title.
- m_TitlePrefix = (LPCTSTR) GetTitle();
+ m_TitlePrefix = wxFileNameFromPath(strFilename); //GetTitle();
// Try to open the document.
if( !DoOpenDocument( strFilename ) )
Xara