]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
Cleaning of sources (Univ related files). -1/TRUE/FALSE/wxIDY_ANY/wxDefaultCoord...
[wxWidgets.git] / src / common / init.cpp
index 94741249d6f8742d391d5de4e1874602179be7dc..80e2c7bc5e16b0b9a283a66bfcec1127bf286db4 100644 (file)
@@ -325,13 +325,13 @@ static void DoCommonPreCleanup()
     // this will flush the old messages if any
     delete wxLog::SetActiveTarget(new wxLogStderr);
 #endif // wxUSE_LOG
-
-    wxModule::CleanUpModules();
 }
 
 // cleanup done after destroying wxTheApp
 static void DoCommonPostCleanup()
 {
+    wxModule::CleanUpModules();
+
     wxClassInfo::CleanUp();
 
     // we can't do this in wxApp itself because it doesn't know if argv had