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 ; };