X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0dbd6262a9ee7d735fb3930707346298f71b2cb7..0834112f89c4c5da7864e17e6f483ce296798ce6:/include/wx/mac/region.h?ds=sidebyside diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index 04d143c2e9..bbe826196d 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -43,6 +43,7 @@ public: wxRegion(long x, long y, long w, long h); wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight); wxRegion(const wxRect& rect); + wxRegion( WXHRGN hRegion ); wxRegion(); ~wxRegion(); @@ -100,6 +101,7 @@ public: bool Combine(long x, long y, long width, long height, wxRegionOp op); bool Combine(const wxRegion& region, wxRegionOp op); bool Combine(const wxRect& rect, wxRegionOp op); + const WXHRGN GetWXHRGN() const ; }; class WXDLLEXPORT wxRegionIterator : public wxObject { @@ -125,7 +127,6 @@ public: long GetH() const; long GetHeight() const { return GetH(); } wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } - private: long m_current; long m_numRects;