X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8461e4c253d4cec65e8f0320246a56d22555eb5e..050c9e3c90c58b05d5b3f7384d1556ca9669f13e:/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;