From bf56779564873a1963e4658598ef29d60dad4033 Mon Sep 17 00:00:00 2001 From: Stefan Csomor Date: Wed, 19 Dec 2001 21:27:34 +0000 Subject: [PATCH] changed clipping to use native mac regions git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/mac/dc.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/wx/mac/dc.h b/include/wx/mac/dc.h index fe4ebd4b7d..ea40eaec03 100644 --- a/include/wx/mac/dc.h +++ b/include/wx/mac/dc.h @@ -177,6 +177,7 @@ class WXDLLEXPORT wxDC: public wxDCBase return (wxCoord)((double)(y) * m_scaleY - 0.5); } + RgnHandle MacGetCurrentClipRgn() { return m_macCurrentClipRgn ; } // protected: @@ -265,7 +266,8 @@ protected: mutable bool m_macPenInstalled ; mutable bool m_macBrushInstalled ; - Rect m_macClipRect ; + RgnHandle m_macBoundaryClipRgn ; + RgnHandle m_macCurrentClipRgn ; Point m_macLocalOrigin ; void MacSetupPort( AGAPortHelper* ph ) const ; }; -- 2.45.2