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:
parent
efba2b89f1
commit
228de783a9
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user