]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/region.h
Compile fix for the version of VC8 included in the 2003 PSDK.
[wxWidgets.git] / include / wx / gtk / region.h
index 3aae6270c465250d484a3472bd285f3d5641c056..1886952495a9724e20c54b13b7118f4e557eeb86 100644 (file)
@@ -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)
 };