X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8461e4c253d4cec65e8f0320246a56d22555eb5e..31e39e3c51f0a14a49ba86a5326e1461ad60dfee:/src/motif/app.cpp diff --git a/src/motif/app.cpp b/src/motif/app.cpp index b552654bc4..fbe1d763fc 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -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;