From: Stefan Csomor Date: Sat, 3 Aug 2002 21:03:41 +0000 (+0000) Subject: added option for getting visible region w/o children clipped X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/d835f05e11b928b56ecdf9dc305069044dede118?ds=inline added option for getting visible region w/o children clipped git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/window.h b/include/wx/mac/window.h index b81c333150..f2fea8ccce 100644 --- a/include/wx/mac/window.h +++ b/include/wx/mac/window.h @@ -246,7 +246,7 @@ public: // virtual void MacGetPortParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin ) ; // virtual void MacGetPortClientParams(Point* localOrigin, Rect* clipRect, WindowRef *window , wxWindowMac** rootwin) ; const wxBrush& MacGetBackgroundBrush() ; - const wxRegion& MacGetVisibleRegion() ; + const wxRegion& MacGetVisibleRegion( bool respectChildrenAndSiblings = true ) ; bool MacIsWindowScrollbar( const wxScrollBar* sb ) { return (m_hScrollBar == sb || m_vScrollBar == sb) ; } static wxWindowMac* s_lastMouseWindow ;