git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2005-02-20 16:26:10 +00:00
parent f572d6495f
commit 9954f65067
2 changed files with 1 additions and 2 deletions

View File

@@ -216,6 +216,7 @@ PicHandle wxMacCreatePicHandle( const wxBitmap &bmp )
GWorldPtr monoworld ;
clipRgn = NewRgn() ;
OSStatus err = NewGWorld( &monoworld , 1 , &rect , NULL , NULL , 0 ) ;
verify_noerr(err) ;
LockPixels( GetGWorldPixMap( monoworld ) ) ;
LockPixels( GetGWorldPixMap( mask ) ) ;
SetGWorld( monoworld , NULL ) ;