X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ac7d3dd1578d298a301638b7ef862f1e308321d0..95691abd435bd311c72d5fd80f0da5b7f6ea53d2:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 1886952495..846f1946cf 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -37,6 +37,7 @@ public: wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE ); +#if wxUSE_IMAGE wxRegion( const wxBitmap& bmp) { Union(bmp); @@ -46,6 +47,7 @@ public: { Union(bmp, transColour, tolerance); } +#endif // wxUSE_IMAGE virtual ~wxRegion(); @@ -61,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;