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 ; 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 ) ;

View File

@ -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,