]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/appcmn.cpp
Correct bug in the wxSpinCtrlGeneric sub-controls resizing.
[wxWidgets.git] / src / common / appcmn.cpp
index ea48ba716c7623698eab9021a7de12bf8cb11d6f..844aec1f42b31b492d59f8d89a20f0fbe6100398 100644 (file)
@@ -128,8 +128,7 @@ void wxAppBase::CleanUp()
 
     wxDeleteStockLists();
 
-    delete wxTheColourDatabase;
-    wxTheColourDatabase = NULL;
+    wxDELETE(wxTheColourDatabase);
 
     wxAppConsole::CleanUp();
 }