X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..e2bc1d69812f8fc3f6ae24508a9d007ad5d00ede:/include/wx/mac/carbon/region.h diff --git a/include/wx/mac/carbon/region.h b/include/wx/mac/carbon/region.h index 21831e4e54..e0f51c0f2e 100644 --- a/include/wx/mac/carbon/region.h +++ b/include/wx/mac/carbon/region.h @@ -19,10 +19,6 @@ class WXDLLEXPORT wxRect; class WXDLLEXPORT wxPoint; -enum wxRegionContain { - wxOutRegion = 0, wxPartRegion = 1, wxInRegion = 2 -}; - // So far, for internal use only enum wxRegionOp { wxRGN_AND, // Creates the intersection of the two combined regions. @@ -52,14 +48,7 @@ public: Union(bmp, transColour, tolerance); } - ~wxRegion(); - - //# Copying - wxRegion(const wxRegion& r) - : wxGDIObject() - { Ref(r); } - wxRegion& operator = (const wxRegion& r) - { Ref(r); return (*this); } + virtual ~wxRegion(); //# Modify region // Clear current region @@ -148,7 +137,7 @@ public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); wxRegionIterator(const wxRegionIterator& iterator); - ~wxRegionIterator(); + virtual ~wxRegionIterator(); wxRegionIterator& operator=(const wxRegionIterator& iterator);