]> git.saurik.com Git - wxWidgets.git/commitdiff
call wxAppConsole::CleanUp() from the derived class version
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 May 2007 15:41:06 +0000 (15:41 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 18 May 2007 15:41:06 +0000 (15:41 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/appcmn.cpp

index f426219329029b8f3ea544879fcad442c43a6c58..dca75fefd9b3fdb7fde3a6b9603e4ee07ecbfcc7 100644 (file)
@@ -138,15 +138,14 @@ void wxAppBase::CleanUp()
     delete wxTheColourDatabase;
     wxTheColourDatabase = NULL;
 
-    delete wxPendingEvents;
-    wxPendingEvents = NULL;
-
 #if wxUSE_THREADS
     #if wxUSE_VALIDATORS
         // If we don't do the following, we get an apparent memory leak.
         ((wxEvtHandler&) wxDefaultValidator).ClearEventLocker();
     #endif // wxUSE_VALIDATORS
 #endif // wxUSE_THREADS
+
+    wxAppConsole::CleanUp();
 }
 
 // ----------------------------------------------------------------------------