]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/app.cpp
Compilation fix for wxUniv/X11 with wxUSE_STL==1.
[wxWidgets.git] / src / x11 / app.cpp
index acd1c49aef2bb7520315e60dcaefe5b51f536fcb..775f77de6b91fd5b4bbd6eab48c07eb7d85e691f 100644 (file)
@@ -195,10 +195,8 @@ bool wxApp::Initialize(int& argC, wxChar **argV)
 
 void wxApp::CleanUp()
 {
-    delete wxWidgetHashTable;
-    wxWidgetHashTable = NULL;
-    delete wxClientWidgetHashTable;
-    wxClientWidgetHashTable = NULL;
+    wxDELETE(wxWidgetHashTable);
+    wxDELETE(wxClientWidgetHashTable);
 
     wxAppBase::CleanUp();
 }