]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
Use a " " (space) for the menu item if an empty string is used for an item in a wxCho...
[wxWidgets.git] / src / os2 / statbmp.cpp
index 52ba6af126ba94deadce0a99ac71696df5228885..c80642962f03768a417df57773aef40af78610f5 100644 (file)
@@ -141,9 +141,7 @@ bool wxStaticBitmap::ImageIsOk() const
 
 void wxStaticBitmap::Free()
 {
-    if (m_pImage)
-        delete m_pImage;
-    m_pImage = NULL;
+    wxDELETE(m_pImage);
 } // end of wxStaticBitmap::Free
 
 wxSize wxStaticBitmap::DoGetBestSize() const