X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..0c5405b727fc4a1ff66c1ded7e2a2da54d0d3718:/include/wx/msw/region.h diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 4539ec1d81..d6cac7c667 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/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/gdiobj.h" #include "wx/gdicmn.h" @@ -60,12 +56,6 @@ public: virtual ~wxRegion(); - // Copying - wxRegion(const wxRegion& r) - { Ref(r); } - wxRegion& operator = (const wxRegion& r) - { Ref(r); return (*this); } - // Modify region // ------------- @@ -152,7 +142,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);