X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8a16d7370e3cdc7d583a6f14ab11b3a1d27b73df..1f0acb435592470b421b80df854fbbb08cd2853f:/include/wx/gtk1/region.h diff --git a/include/wx/gtk1/region.h b/include/wx/gtk1/region.h index 17166be6bf..6cb110f73c 100644 --- a/include/wx/gtk1/region.h +++ b/include/wx/gtk1/region.h @@ -37,7 +37,7 @@ 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 ); wxRegion( const wxBitmap& bmp) { @@ -63,9 +63,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;