corrected serious bug in SetHBITMAP

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-10-17 21:24:31 +00:00
parent efba2b89f1
commit 228de783a9

View File

@ -355,6 +355,7 @@ void wxBitmap::SetHBITMAP(WXHBITMAP bmp)
m_refData = new wxBitmapRefData;
M_BITMAPDATA->m_hBitmap = bmp;
M_BITMAPDATA->m_ok = bmp != 0;
}
void wxBitmap::AddHandler(wxBitmapHandler *handler)