]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/bitmap.cpp
fixing duplicate rti info
[wxWidgets.git] / src / os2 / bitmap.cpp
index f8ae3d715d8b208576bcb35f47ac2ddec5581d27..74c400fcccbebe46dbff89ec8438a0d53e0ea4bd 100644 (file)
@@ -84,11 +84,7 @@ void wxBitmapRefData::Free()
             wxLogLastError(wxT("GpiDeleteBitmap(hbitmap)"));
         }
     }
-    if (m_pBitmapMask)
-    {
-        delete m_pBitmapMask;
-        m_pBitmapMask = NULL;
-    }
+    wxDELETE(m_pBitmapMask);
 } // end of wxBitmapRefData::Free
 
 // ----------------------------------------------------------------------------