X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..38a097f588121ffcab2fa57e4494a6d0783c3567:/include/wx/msw/region.h diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 4539ec1d81..b26a996c08 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -12,23 +12,12 @@ #ifndef _WX_REGION_H_ #define _WX_REGION_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "region.h" -#endif - #include "wx/gdiobj.h" #include "wx/gdicmn.h" class WXDLLEXPORT wxRect; class WXDLLEXPORT wxPoint; -enum wxRegionContain -{ - wxOutRegion = 0, - wxPartRegion = 1, - wxInRegion = 2 -}; - // So far, for internal use only enum wxRegionOp { @@ -60,12 +49,6 @@ public: virtual ~wxRegion(); - // Copying - wxRegion(const wxRegion& r) - { Ref(r); } - wxRegion& operator = (const wxRegion& r) - { Ref(r); return (*this); } - // Modify region // ------------- @@ -152,7 +135,7 @@ class WXDLLEXPORT wxRegionIterator : public wxObject public: wxRegionIterator() { Init(); } wxRegionIterator(const wxRegion& region); - wxRegionIterator(const wxRegionIterator& ri) { Init(); *this = ri; } + wxRegionIterator(const wxRegionIterator& ri) : wxObject(ri) { Init(); *this = ri; } wxRegionIterator& operator=(const wxRegionIterator& ri);