]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/configtool/src/appsettings.cpp
Don't uninstall common files if there is more than one wxPython installed
[wxWidgets.git] / utils / configtool / src / appsettings.cpp
index 56af6008d090612280527fd639854518767a31a2..17f4a0f70b1be62b0493948f47e88bc85363ed87 100644 (file)
 #pragma implementation "appsettings.h"
 #endif
 
-#include "wx/wx.h"
+// For compilers that support precompilation, includes "wx/wx.h".
+#include "wx/wxprec.h"
 
 #ifdef __BORLANDC__
 #pragma hdrstop
 #endif
 
 #ifndef WX_PRECOMP
-#include "wx/wx.h"
-#endif
 
-#include "wx/wfstream.h"
 #include "wx/datstrm.h"
-#include "wx/config.h"
-#include "wx/fileconf.h"
 #include "wx/dir.h"
-#include "wx/valgen.h"
 #include "wx/colordlg.h"
 #include "wx/wxhtml.h"
 #include "wx/effects.h"
 #include "wx/spinctrl.h"
 #include "wx/tooltip.h"
 
+#endif
+
+#include "wx/wfstream.h"
+#include "wx/config.h"
+#include "wx/fileconf.h"
+#include "wx/valgen.h"
 #include "utils.h"
 #include "wxconfigtool.h"
 #include "appsettings.h"
@@ -85,10 +86,6 @@ ctSettings::ctSettings(const ctSettings& settings)
 }
 
 
-ctSettings::~ctSettings()
-{
-}
-
 void ctSettings::operator = (const ctSettings& settings)
 {
     Copy(settings);
@@ -264,7 +261,7 @@ bool ctSettings::SaveConfig()
     // Indicate that we're no longer running, so we know if the program
     // crashed last time around.
     config.Write(wxT("Misc/RunningProgram"), (long) 0);
-   
+
     {
         config.SetPath(wxT("FileHistory/"));
         wxGetApp().GetDocManager()->FileHistorySave(config);