added proper accessor for getting region boundaries
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -273,7 +273,7 @@ PicHandle wxMacCreatePict(GWorldPtr wp, GWorldPtr mask)
|
||||
SetGWorld( wp , NULL ) ;
|
||||
Rect portRect ;
|
||||
if ( clipRgn )
|
||||
portRect = (**clipRgn).rgnBBox ;
|
||||
GetRegionBounds( clipRgn , &portRect ) ;
|
||||
else
|
||||
GetPortBounds( wp , &portRect ) ;
|
||||
pict = OpenPicture(&portRect);
|
||||
|
||||
Reference in New Issue
Block a user