removing QD dependency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
7ef4a97bfd
commit
a6ac3d64f9
@ -1598,15 +1598,11 @@ void wxWindowMac::MacPaintBorders( int WXUNUSED(leftOrigin) , int WXUNUSED(right
|
|||||||
GetPeer()->GetSize( tw, th );
|
GetPeer()->GetSize( tw, th );
|
||||||
GetPeer()->GetPosition( tx, ty );
|
GetPeer()->GetPosition( tx, ty );
|
||||||
|
|
||||||
Rect rect = { ty,tx, ty+th, tx+tw };
|
|
||||||
|
|
||||||
#if wxOSX_USE_COCOA_OR_CARBON
|
#if wxOSX_USE_COCOA_OR_CARBON
|
||||||
|
|
||||||
InsetRect( &rect, -1 , -1 ) ;
|
|
||||||
|
|
||||||
{
|
{
|
||||||
CGRect cgrect = CGRectMake( rect.left , rect.top , rect.right - rect.left ,
|
CGRect cgrect = CGRectMake( tx-1 , ty-1 , tw+2 ,
|
||||||
rect.bottom - rect.top ) ;
|
th+2 ) ;
|
||||||
|
|
||||||
CGContextRef cgContext = (CGContextRef) GetParent()->MacGetCGContextRef() ;
|
CGContextRef cgContext = (CGContextRef) GetParent()->MacGetCGContextRef() ;
|
||||||
wxASSERT( cgContext ) ;
|
wxASSERT( cgContext ) ;
|
||||||
|
Loading…
Reference in New Issue
Block a user