]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/app.cpp
Tries to fix wxListBox focus problems.
[wxWidgets.git] / src / motif / app.cpp
index b552654bc47f09701e9d400655708250493b95a7..fbe1d763fc41a8f652af4312caaba43c49105762 100644 (file)
@@ -143,17 +143,7 @@ void wxApp::CleanUp()
 
     // Destroy all GDI lists, etc.
 
-    delete wxTheBrushList;
-    wxTheBrushList = NULL;
-
-    delete wxThePenList;
-    wxThePenList = NULL;
-
-    delete wxTheFontList;
-    wxTheFontList = NULL;
-
-    delete wxTheBitmapList;
-    wxTheBitmapList = NULL;
+    wxDeleteStockLists();
 
     delete wxTheColourDatabase;
     wxTheColourDatabase = NULL;