X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..432efcb004c8a7f4997acab1aa044c78226c36bb:/include/wx/mac/classic/region.h?ds=sidebyside diff --git a/include/wx/mac/classic/region.h b/include/wx/mac/classic/region.h index ee60da5462..db388cedde 100644 --- a/include/wx/mac/classic/region.h +++ b/include/wx/mac/classic/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. @@ -51,14 +47,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 @@ -144,7 +133,7 @@ public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); wxRegionIterator(const wxRegionIterator& iterator); - ~wxRegionIterator(); + virtual ~wxRegionIterator(); wxRegionIterator& operator=(const wxRegionIterator& iterator);