]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/statbmp.cpp
Filter out subframes from the ie backend history and the sample. Also document that...
[wxWidgets.git] / src / os2 / statbmp.cpp
index 52ba6af126ba94deadce0a99ac71696df5228885..5874763573e462f5c0ea725ff326b3471856ac9e 100644 (file)
@@ -28,8 +28,6 @@
 // macros
 // ---------------------------------------------------------------------------
 
-IMPLEMENT_DYNAMIC_CLASS(wxStaticBitmap, wxControl)
-
 BEGIN_EVENT_TABLE(wxStaticBitmap, wxWindow)
     EVT_PAINT(wxStaticBitmap::OnPaint)
 END_EVENT_TABLE()
@@ -141,9 +139,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