cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
f572d6495f
commit
9954f65067
@ -216,6 +216,7 @@ PicHandle wxMacCreatePicHandle( const wxBitmap &bmp )
|
|||||||
GWorldPtr monoworld ;
|
GWorldPtr monoworld ;
|
||||||
clipRgn = NewRgn() ;
|
clipRgn = NewRgn() ;
|
||||||
OSStatus err = NewGWorld( &monoworld , 1 , &rect , NULL , NULL , 0 ) ;
|
OSStatus err = NewGWorld( &monoworld , 1 , &rect , NULL , NULL , 0 ) ;
|
||||||
|
verify_noerr(err) ;
|
||||||
LockPixels( GetGWorldPixMap( monoworld ) ) ;
|
LockPixels( GetGWorldPixMap( monoworld ) ) ;
|
||||||
LockPixels( GetGWorldPixMap( mask ) ) ;
|
LockPixels( GetGWorldPixMap( mask ) ) ;
|
||||||
SetGWorld( monoworld , NULL ) ;
|
SetGWorld( monoworld , NULL ) ;
|
||||||
|
@ -135,8 +135,6 @@ wxRendererMac::DrawHeaderButton(wxWindow *win,
|
|||||||
const wxRect& rect,
|
const wxRect& rect,
|
||||||
int flags)
|
int flags)
|
||||||
{
|
{
|
||||||
const int CORNER = 1;
|
|
||||||
|
|
||||||
const wxCoord x = rect.x-1,
|
const wxCoord x = rect.x-1,
|
||||||
y = rect.y-1,
|
y = rect.y-1,
|
||||||
w = rect.width,
|
w = rect.width,
|
||||||
|
Loading…
Reference in New Issue
Block a user