From e671beca243cbc9e68674031476f7c61cd2aa0bd Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Sat, 10 Aug 2002 09:36:09 +0000 Subject: [PATCH] added clipping code for controls git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/private.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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) -- 2.50.0