]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk/region.h
Ensure that the progress dialog parent is activated at the end under MSW.
[wxWidgets.git] / include / wx / gtk / region.h
index 26caf77531d10873046460a30227ae4030bfd05b..a00a0af6740924bae69db12ddad1c6401db99d8c 100644 (file)
@@ -35,7 +35,8 @@ public:
         InitRect(rect.x, rect.y, rect.width, rect.height);
     }
 
-    wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE );
+    wxRegion( size_t n, const wxPoint *points,
+              wxPolygonFillMode fillStyle = wxODDEVEN_RULE );
 
 #if wxUSE_IMAGE
     wxRegion( const wxBitmap& bmp)
@@ -63,9 +64,8 @@ public:
     GdkRegion *GetRegion() const;
 
 protected:
-    // ref counting code
-    virtual wxObjectRefData *CreateRefData() const;
-    virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
+    virtual wxGDIRefData *CreateGDIRefData() const;
+    virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 
     // wxRegionBase pure virtuals
     virtual bool DoIsEqual(const wxRegion& region) const;
@@ -122,13 +122,11 @@ private:
     void Init();
     void CreateRects( const wxRegion& r );
 
-    size_t   m_current;
     wxRegion m_region;
-
     wxRect *m_rects;
-    size_t  m_numRects;
+    int m_numRects;
+    int m_current;
 
-private:
     DECLARE_DYNAMIC_CLASS(wxRegionIterator)
 };