X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..e7b8af652fe667c61d89dfb342c7660b2b16daea:/include/wx/mgl/region.h diff --git a/include/wx/mgl/region.h b/include/wx/mgl/region.h index f1ae0e3e46..052f33b40b 100644 --- a/include/wx/mgl/region.h +++ b/include/wx/mgl/region.h @@ -15,7 +15,7 @@ class MGLRegion; -class WXDLLEXPORT wxRegion : public wxRegionBase +class WXDLLIMPEXP_CORE wxRegion : public wxRegionBase { public: wxRegion(); @@ -23,7 +23,7 @@ public: wxRegion(const wxPoint& topLeft, const wxPoint& bottomRight); wxRegion(const wxRect& rect); wxRegion(const MGLRegion& region); - 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) { Union(bmp); @@ -44,9 +44,8 @@ public: const MGLRegion& GetMGLRegion() 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; @@ -69,7 +68,7 @@ private: WX_DECLARE_EXPORTED_LIST(wxRect, wxRegionRectList); -class WXDLLEXPORT wxRegionIterator : public wxObject +class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject { public: wxRegionIterator(void);