X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..129c8cf3524ba45c690192cada38025a7aa544ca:/include/wx/mgl/region.h diff --git a/include/wx/mgl/region.h b/include/wx/mgl/region.h index c5f7a9464e..ec8c23c596 100644 --- a/include/wx/mgl/region.h +++ b/include/wx/mgl/region.h @@ -19,13 +19,6 @@ class WXDLLEXPORT wxRect; class WXDLLEXPORT wxPoint; class MGLRegion; -enum wxRegionContain -{ - wxOutRegion = 0, - wxPartRegion = 1, - wxInRegion = 2 -}; - class WXDLLEXPORT wxRegion : public wxGDIObject { DECLARE_DYNAMIC_CLASS(wxRegion); @@ -47,13 +40,7 @@ public: } wxRegion(); - ~wxRegion(); - - //# Copying - inline wxRegion(const wxRegion& r) - { Ref(r); } - inline wxRegion& operator = (const wxRegion& r) - { Ref(r); return (*this); } + virtual ~wxRegion(); //# Modify region // Clear current region @@ -133,7 +120,7 @@ class WXDLLEXPORT wxRegionIterator : public wxObject public: wxRegionIterator(void); wxRegionIterator(const wxRegion& region); - ~wxRegionIterator(void); + virtual ~wxRegionIterator(void); void Reset(void) { m_currentNode = NULL; } void Reset(const wxRegion& region);