X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..c746b747074dba438ac1c06b612184aaad7c7dc6:/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 f71565a964..db388cedde 100644 --- a/include/wx/mac/classic/region.h +++ b/include/wx/mac/classic/region.h @@ -12,10 +12,6 @@ #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" @@ -23,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. @@ -55,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 @@ -148,7 +133,7 @@ public: wxRegionIterator(); wxRegionIterator(const wxRegion& region); wxRegionIterator(const wxRegionIterator& iterator); - ~wxRegionIterator(); + virtual ~wxRegionIterator(); wxRegionIterator& operator=(const wxRegionIterator& iterator);