X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/58614078c466cffaf0e5d0369741706f130fb793..2cc0e28f6add744e192d196951dc8be7c9cc51f5:/include/wx/gtk/region.h?ds=sidebyside diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index 9ba3f50125..b61066a208 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -58,11 +58,14 @@ class wxRegion : public wxGDIObject wxRegion(void); ~wxRegion(void); - inline wxRegion( const wxRegion& r ) + inline wxRegion( const wxRegion& r ): wxGDIObject() { Ref(r); } inline wxRegion& operator = ( const wxRegion& r ) { Ref(r); return (*this); } + bool operator == ( const wxRegion& region ); + bool operator != ( const wxRegion& region ); + void Clear(void); bool Union( long x, long y, long width, long height ); @@ -121,6 +124,7 @@ class wxRegionIterator: public wxObject long GetWidth(void) const { return GetW(); } long GetH(void) const; long GetHeight(void) const { return GetH(); } + wxRect GetRect() const { return wxRect(GetX(), GetY(), GetWidth(), GetHeight()); } private: