]> git.saurik.com Git - wxWidgets.git/commitdiff
Set wxPendingEvents to NULL after deleting it
authorJulian Smart <julian@anthemion.co.uk>
Sun, 13 Apr 2003 21:08:39 +0000 (21:08 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 13 Apr 2003 21:08:39 +0000 (21:08 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/app.cpp
src/mac/carbon/app.cpp

index bedbae9605c10956407d74131364b9e1eceb60a5..ebc798b4fd84c2824488c81e6814dd8f2c497dae 100644 (file)
@@ -651,6 +651,7 @@ void wxApp::CleanUp()
         delete wxWinMacControlList ;
     }
     delete wxPendingEvents;
+    wxPendingEvents = NULL;
 
 #if wxUSE_THREADS
     delete wxPendingEventsLocker;
index bedbae9605c10956407d74131364b9e1eceb60a5..ebc798b4fd84c2824488c81e6814dd8f2c497dae 100644 (file)
@@ -651,6 +651,7 @@ void wxApp::CleanUp()
         delete wxWinMacControlList ;
     }
     delete wxPendingEvents;
+    wxPendingEvents = NULL;
 
 #if wxUSE_THREADS
     delete wxPendingEventsLocker;