]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/bitmap.cpp
Use the wx version of the wxDECLARE_EVENT_TABLE_ENTRY macro
[wxWidgets.git] / src / msw / bitmap.cpp
index 850baa8602fdf9c5286ddaa91f753cac7208d76b..e903a33e8b10bc3877aa66b98c95fe7bc17b862a 100644 (file)
@@ -238,8 +238,7 @@ void wxBitmapRefData::Free()
         }
     }
 
-    delete m_bitmapMask;
-    m_bitmapMask = NULL;
+    wxDELETE(m_bitmapMask);
 }
 
 // ----------------------------------------------------------------------------