]> git.saurik.com Git - wxWidgets.git/commitdiff
added clipping code for controls
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Aug 2002 09:36:09 +0000 (09:36 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 10 Aug 2002 09:36:09 +0000 (09:36 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16434 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/mac/private.h

index 61b87e237d5f8deaf5c2bb6ef3dc72c04cb7369e..839b738b6ebd70eeaa8ec4f81ecce60c8274ece8 100644 (file)
@@ -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)