From: Stefan Csomor Date: Sat, 10 Aug 2002 09:36:09 +0000 (+0000) Subject: added clipping code for controls X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e671beca243cbc9e68674031476f7c61cd2aa0bd added clipping code for controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/mac/private.h b/include/wx/mac/private.h index 61b87e237d..839b738b6e 100644 --- a/include/wx/mac/private.h +++ b/include/wx/mac/private.h @@ -72,6 +72,18 @@ private: const wxDC* m_dc ; } ; +class WXDLLEXPORT wxMacWindowClipper +{ + DECLARE_NO_COPY_CLASS(wxMacWindowClipper) + +public: + wxMacWindowClipper( const wxWindow* win ) ; + ~wxMacWindowClipper() ; +private: + RgnHandle m_formerClip ; + RgnHandle m_newClip ; +} ; + class wxMacDrawingHelper { DECLARE_NO_COPY_CLASS(wxMacDrawingHelper)