X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..129c8cf3524ba45c690192cada38025a7aa544ca:/include/wx/mgl/region.h diff --git a/include/wx/mgl/region.h b/include/wx/mgl/region.h index c9ba07c32b..ec8c23c596 100644 --- a/include/wx/mgl/region.h +++ b/include/wx/mgl/region.h @@ -11,26 +11,14 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "region.h" -#endif - #include "wx/list.h" #include "wx/gdiobj.h" #include "wx/gdicmn.h" -#include "wx/list.h" 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); @@ -52,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 @@ -138,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);