X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a16d7370e3cdc7d583a6f14ab11b3a1d27b73df..8120bbc9166a16f95c03d0ee50974117429be9e0:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 3aae6270c4..1886952495 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -94,6 +94,10 @@ class WXDLLIMPEXP_CORE wxRegionIterator: public wxObject public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); + wxRegionIterator(const wxRegionIterator& ri) : wxObject(ri) { Init(); *this = ri; } + ~wxRegionIterator(); + + wxRegionIterator& operator=(const wxRegionIterator& ri); void Reset() { m_current = 0u; } void Reset(const wxRegion& region); @@ -113,9 +117,15 @@ public: wxRect GetRect() const; private: + void Init(); + void CreateRects( const wxRegion& r ); + size_t m_current; wxRegion m_region; + wxRect *m_rects; + size_t m_numRects; + private: DECLARE_DYNAMIC_CLASS(wxRegionIterator) };