]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
fix for unicode build
[wxWidgets.git] / src / common / appcmn.cpp
index 778f5a2a7fb6afe3839f3593e8ca8646e0f97411..0f013b66d3b10b6b66e4dda1b5037ace7c834cef 100644 (file)
@@ -140,10 +140,10 @@ void wxAppBase::CleanUp()
     delete wxTheColourDatabase;
     wxTheColourDatabase = NULL;
 
-#if wxUSE_THREADS
     delete wxPendingEvents;
     wxPendingEvents = NULL;
 
+#if wxUSE_THREADS
     delete wxPendingEventsLocker;
     wxPendingEventsLocker = NULL;