X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2ac013b1a5d8210ab0c53f7eb9687399b9312162..dc259b792613550edda31cc6202b42e172e2a240:/src/mac/dc.cpp diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index 65f74ce58a..638a4f0d58 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -70,8 +70,8 @@ wxMacWindowClipper::wxMacWindowClipper( const wxWindow* win ) parent->MacWindowToRootWindow( &x,&y ) ; wxSize size = parent->GetSize() ; SetRectRgn( insidergn , parent->MacGetLeftBorderSize() , parent->MacGetTopBorderSize() , - size.x - parent->MacGetLeftBorderSize() - parent->MacGetRightBorderSize(), - size.y - parent->MacGetTopBorderSize() - parent->MacGetBottomBorderSize()) ; + size.x - parent->MacGetRightBorderSize(), + size.y - parent->MacGetBottomBorderSize()) ; CopyRgn( (RgnHandle) parent->MacGetVisibleRegion(false).GetWXHRGN() , m_newClip ) ; SectRgn( m_newClip , insidergn , m_newClip ) ; OffsetRgn( m_newClip , x , y ) ;