]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/statbmp.cpp
Add EVT_RIBBONGALLERY_CLICKED event.
[wxWidgets.git] / src / msw / statbmp.cpp
index 4a460f8816a0ecb69bf7c316d1680ed64d3ad4da..fbaf004ad1f5b429abc0ba5092dd1ab4b719bf7c 100644 (file)
@@ -239,9 +239,7 @@ wxBitmap wxStaticBitmap::GetBitmap() const
 
 void wxStaticBitmap::Free()
 {
 
 void wxStaticBitmap::Free()
 {
-    delete m_image;
-
-    m_image = NULL;
+    wxDELETE(m_image);
 }
 
 wxSize wxStaticBitmap::DoGetBestSize() const
 }
 
 wxSize wxStaticBitmap::DoGetBestSize() const