X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85f6b408dfd796805b1c43718e69549506353ca7..6181cef53222dc7f04e0e52fc4a2d399709a076e:/include/wx/msw/region.h 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);