X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..8397cab4dafee82a887785a80ab8f588a68d9f27:/include/wx/msw/region.h?ds=sidebyside diff --git a/include/wx/msw/region.h b/include/wx/msw/region.h index 4539ec1d81..0d14ea4452 100644 --- a/include/wx/msw/region.h +++ b/include/wx/msw/region.h @@ -61,7 +61,7 @@ public: virtual ~wxRegion(); // Copying - wxRegion(const wxRegion& r) + wxRegion(const wxRegion& r) : wxGDIObject(r) { Ref(r); } wxRegion& operator = (const wxRegion& r) { Ref(r); return (*this); } @@ -152,7 +152,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);