Update of /cvsroot/mahogany/M/src/classes
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11093/src/classes
Modified Files:
MApplication.cpp
Log Message:
don't call wxConfig::Set(), this is now done by AllConfigSources ctor
Index: MApplication.cpp
===================================================================
RCS file: /cvsroot/mahogany/M/src/classes/MApplication.cpp,v
retrieving revision 1.299
retrieving revision 1.300
diff -b -u -2 -r1.299 -r1.300
--- MApplication.cpp 4 Jul 2005 13:54:15 -0000 1.299
+++ MApplication.cpp 4 Jul 2005 19:52:26 -0000 1.300
@@ -464,14 +464,10 @@
}
+ // set the path for persistent controls to save their state to
+ //
// NB: although this shouldn't normally be here (it's GUI-dependent code),
// it's really impossible to put it into wxMApp because some dialogs
// can be already shown from here and this initialization must be done
// before.
-
- // for the persistent controls to work (wx/persctrl.h) we must have
- // a global wxConfig object
- wxConfigBase::Set(m_profile->GetConfig());
-
- // also set the path for persistent controls to save their state to
wxPControls::SetSettingsPath(_T("/Settings/"));
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
Mahogany-cvsupdates mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-cvsupdates