]> git.saurik.com Git - wxWidgets.git/commitdiff
add a outside area for borders and focus rects of 3 pixels to a wxWindowDC's clip...
authorStefan Csomor <csomor@advancedconcepts.ch>
Fri, 6 Aug 2004 09:19:14 +0000 (09:19 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Fri, 6 Aug 2004 09:19:14 +0000 (09:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dcclient.cpp

index 710a8f89f43c3fb1813dee51d8092b136371d22e..2d75ff390e174e56c7d30550518a8168cde05c7c 100644 (file)
@@ -114,7 +114,7 @@ wxWindowDC::wxWindowDC(wxWindow *window)
     window->MacWindowToRootWindow( &x , &y ) ;
     m_macLocalOrigin.x = x ;
     m_macLocalOrigin.y = y ;
-    CopyRgn( (RgnHandle) window->MacGetVisibleRegion().GetWXHRGN() , (RgnHandle) m_macBoundaryClipRgn ) ;
+    CopyRgn( (RgnHandle) window->MacGetVisibleRegion(true).GetWXHRGN() , (RgnHandle) m_macBoundaryClipRgn ) ;
     OffsetRgn( (RgnHandle) m_macBoundaryClipRgn , m_macLocalOrigin.x , m_macLocalOrigin.y ) ;
     CopyRgn( (RgnHandle) m_macBoundaryClipRgn , (RgnHandle) m_macCurrentClipRgn ) ;
     m_macPort = UMAGetWindowPort( windowref ) ;