X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7600a2cabbc4d91dd53d842324eea6f5bfe3fe6..6d6da89ccb7a6aae5cfefe66147a7055ab0854d6:/include/wx/mac/region.h diff --git a/include/wx/mac/region.h b/include/wx/mac/region.h index ee40f921f7..d9fc31f073 100644 --- a/include/wx/mac/region.h +++ b/include/wx/mac/region.h @@ -128,13 +128,13 @@ public: ~wxRegionIterator(); wxRegionIterator& operator=(const wxRegionIterator& iterator); - + void Reset() { m_current = 0; } void Reset(const wxRegion& region); operator bool () const { return m_current < m_numRects; } bool HaveRects() const { return m_current < m_numRects; } - + wxRegionIterator& operator++(); wxRegionIterator operator++(int); @@ -146,6 +146,8 @@ public: long GetHeight() const { return GetH(); } wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } private: + void SetRects(long numRects, wxRect *rects); + long m_current; long m_numRects; wxRegion m_region;