clean up modules after destroying the app, not before it

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-07-13 13:41:47 +00:00
parent 696e113b5f
commit a4de7e8ccf

View 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