]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/init.cpp
use proper dllexport declaration with _WX_LIST_HELPER_
[wxWidgets.git] / src / common / init.cpp
index 9b87e1815244d7fbf73bbd262ffa881a144a862a..b27736deac2e3b5b5c842e0100fe1e89541ffde2 100644 (file)
@@ -356,8 +356,6 @@ static void DoCommonPostCleanup()
 {
     wxModule::CleanUpModules();
 
-    wxClassInfo::CleanUp();
-
     // we can't do this in wxApp itself because it doesn't know if argv had
     // been allocated
 #if wxUSE_UNICODE
@@ -477,7 +475,7 @@ void wxUninitialize()
 {
     wxCRIT_SECT_LOCKER(lockInit, gs_initData.csInit);
 
-    if ( !--gs_initData.nInitCount )
+    if ( --gs_initData.nInitCount == 0 )
     {
         wxEntryCleanup();
     }