1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more 3. many minor fixes in bitmap/icon code git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -731,7 +731,9 @@ bool wxLoadIntoBitmap(wxChar *filename, wxBitmap *bitmap, wxPalette **pal)
|
||||
bitmap->SetWidth(bm.bmWidth);
|
||||
bitmap->SetHeight(bm.bmHeight);
|
||||
bitmap->SetDepth(bm.bmPlanes * bm.bmBitsPixel);
|
||||
#if WXWIN_COMPATIBILITY_2
|
||||
bitmap->SetOk(TRUE);
|
||||
#endif // WXWIN_COMPATIBILITY_2
|
||||
return TRUE;
|
||||
}
|
||||
else return FALSE;
|
||||
|
Reference in New Issue
Block a user