]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gdicmn.cpp
Remove references to joytest.rc that was recently removed.
[wxWidgets.git] / src / common / gdicmn.cpp
index f2522192b7f12d8925f5511dec11513d8f2f1615..cc9045fbe0e101826ec1c948a8edfb4b97986b11 100644 (file)
@@ -526,8 +526,7 @@ void wxStockGDI::DeleteAll()
 {
     for (unsigned i = 0; i < ITEMCOUNT; i++)
     {
-        delete ms_stockObject[i];
-        ms_stockObject[i] = NULL;
+        wxDELETE(ms_stockObject[i]);
     }
 }