otherwise we always fall back to blitting, even if we can provide better results
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -706,6 +706,7 @@ bool wxBitmap::CopyFromIcon(const wxIcon& icon)
|
|||||||
EndRawAccess() ;
|
EndRawAccess() ;
|
||||||
DisposeHandle( imagehandle ) ;
|
DisposeHandle( imagehandle ) ;
|
||||||
DisposeHandle( maskhandle ) ;
|
DisposeHandle( maskhandle ) ;
|
||||||
|
created = true ;
|
||||||
}
|
}
|
||||||
DisposeHandle( (Handle) iconFamily ) ;
|
DisposeHandle( (Handle) iconFamily ) ;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user