X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..8257d7cd478c54532cc7d8fd0ace9faf5e9efb23:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 71f47a47aa..26caf77531 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(); @@ -94,8 +96,11 @@ class WXDLLIMPEXP_CORE wxRegionIterator: public wxObject public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); + wxRegionIterator(const wxRegionIterator& ri) : wxObject(ri) { Init(); *this = ri; } ~wxRegionIterator(); + wxRegionIterator& operator=(const wxRegionIterator& ri); + void Reset() { m_current = 0u; } void Reset(const wxRegion& region);