X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..a5b31f4e11c860fa5d9949c8694a7499793c3b98:/include/wx/x11/region.h?ds=sidebyside diff --git a/include/wx/x11/region.h b/include/wx/x11/region.h index b2e66e71c2..24f8b4c825 100644 --- a/include/wx/x11/region.h +++ b/include/wx/x11/region.h @@ -26,13 +26,6 @@ class WXDLLIMPEXP_CORE wxRegion; // constants //----------------------------------------------------------------------------- -enum wxRegionContain -{ - wxOutRegion = 0, - wxPartRegion = 1, - wxInRegion = 2 -}; - // So far, for internal use only enum wxRegionOp { @@ -80,15 +73,12 @@ public: Union(bmp, transColour, tolerance); } - ~wxRegion(); - - wxRegion( const wxRegion& region ) { Ref(region); } - wxRegion& operator = ( const wxRegion& region ) { Ref(region); return *this; } + virtual ~wxRegion(); bool Ok() const { return m_refData != NULL; } - bool operator == ( const wxRegion& region ); - bool operator != ( const wxRegion& region ) { return !(*this == region); } + bool operator == ( const wxRegion& region ) const; + bool operator != ( const wxRegion& region ) const { return !(*this == region); } void Clear();