Update of /cvsroot/mahogany/M/src/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15398/src/gui
Modified Files:
wxMainFrame.cpp wxMFrame.cpp
Log Message:
moved debug build indicator in title from wxMainFrame to base class SetTitle()
so that it is not lost when the title changes
Index: wxMainFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMainFrame.cpp,v
retrieving revision 1.188
retrieving revision 1.189
diff -b -u -2 -r1.188 -r1.189
--- wxMainFrame.cpp 12 Sep 2004 22:57:46 -0000 1.188
+++ wxMainFrame.cpp 20 Feb 2005 17:51:59 -0000 1.189
@@ -572,8 +572,4 @@
SetTitle(_("Copyright (C) 1997-2004 The Mahogany Developers Team"));
-#ifdef DEBUG
- SetTitle(GetTitle() + _(" (Debug build)"));
-#endif
-
CreateStatusBar();
Index: wxMFrame.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/gui/wxMFrame.cpp,v
retrieving revision 1.172
retrieving revision 1.173
diff -b -u -2 -r1.172 -r1.173
--- wxMFrame.cpp 8 Nov 2004 14:51:28 -0000 1.172
+++ wxMFrame.cpp 20 Feb 2005 17:52:00 -0000 1.173
@@ -251,4 +251,8 @@
wxString t = _("Mahogany : ") + title;
+#ifdef DEBUG
+ t += _(" [debug build]");
+#endif
+
wxFrame::SetTitle(t.c_str());
}
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates