X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48850fa74dee8ace36f70059f1938488c4196a97..c822ad5a5e30a21ca3340af644bf79804cf7c777:/include/wx/gtk/region.h diff --git a/include/wx/gtk/region.h b/include/wx/gtk/region.h index b7fd0acf9e..c4f58a97d7 100644 --- a/include/wx/gtk/region.h +++ b/include/wx/gtk/region.h @@ -71,13 +71,15 @@ public: } wxRegion( size_t n, const wxPoint *points, int fillStyle = wxODDEVEN_RULE ); - virtual ~wxRegion(); + ~wxRegion(); - wxRegion( const wxRegion& r ) { Ref(r); } - wxRegion& operator = ( const wxRegion& r ) { Ref(r); return *this; } + wxRegion( const wxRegion& region ) { Ref(region); } + wxRegion& operator = ( const wxRegion& region ) { Ref(region); return *this; } + + bool Ok() const { return m_refData != NULL; } bool operator == ( const wxRegion& region ); - bool operator != ( const wxRegion& region ); + bool operator != ( const wxRegion& region ) { return !(*this == region); } void Clear();