X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b5dbe15d0bacde245539f54c4d97af6b4696f01f..afc0db8ca0bcae488ed7efa8ee3bcd873873a8d9:/include/wx/generic/region.h?ds=sidebyside diff --git a/include/wx/generic/region.h b/include/wx/generic/region.h index e82714abcd..665f8f8b15 100644 --- a/include/wx/generic/region.h +++ b/include/wx/generic/region.h @@ -12,12 +12,15 @@ #ifndef _WX_GENERIC_REGION_H__ #define _WX_GENERIC_REGION_H__ -class WXDLLEXPORT wxRegionGeneric : public wxRegionBase +class WXDLLIMPEXP_CORE wxRegionGeneric : public wxRegionBase { public: wxRegionGeneric(wxCoord x, wxCoord y, wxCoord w, wxCoord h); wxRegionGeneric(const wxPoint& topLeft, const wxPoint& bottomRight); wxRegionGeneric(const wxRect& rect); + wxRegionGeneric(size_t n, const wxPoint *points, wxPolygonFillMode fillStyle = wxODDEVEN_RULE); + wxRegionGeneric(const wxBitmap& bmp); + wxRegionGeneric(const wxBitmap& bmp, const wxColour& transp, int tolerance = 0); wxRegionGeneric(); virtual ~wxRegionGeneric(); @@ -26,8 +29,8 @@ public: virtual bool IsEmpty() const; protected: - 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; @@ -45,7 +48,7 @@ protected: friend class WXDLLIMPEXP_FWD_CORE wxRegionIteratorGeneric; }; -class WXDLLEXPORT wxRegionIteratorGeneric : public wxObject +class WXDLLIMPEXP_CORE wxRegionIteratorGeneric : public wxObject { public: wxRegionIteratorGeneric();