fixed gcc warnings about not calling base class ctor explicitly in copy ctors (patch 1028986)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user