]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
document On{Open,Save}Document()
[wxWidgets.git] / src / common / appcmn.cpp
index 3be7882932ff3029c23fa25c088631c0ac700230..15f409dbd62ed7be1dfa9a1dc38defb3070b2644 100644 (file)
@@ -138,13 +138,6 @@ void wxAppBase::CleanUp()
     delete wxTheColourDatabase;
     wxTheColourDatabase = 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();
 }