Toolbar updates

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
David Webster
2002-07-02 21:10:52 +00:00
parent ba2b238e5d
commit 2590f154ff
4 changed files with 27 additions and 27 deletions

View File

@@ -74,9 +74,11 @@ void wxBitmapRefData::Free()
wxLogLastError("GpiDeleteBitmap(hbitmap)");
}
}
delete m_pBitmapMask;
m_pBitmapMask = NULL;
if (m_pBitmapMask)
{
delete m_pBitmapMask;
m_pBitmapMask = NULL;
}
} // end of wxBitmapRefData::Free
// ----------------------------------------------------------------------------