git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13986
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
protected:
virtual wxObjectRefData *CreateRefData() const;
- virtual wxObjectRefData *CloneRefData(wxObjectRefData *data) const;
+ virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
friend class WXDLLEXPORT wxRegionIterator;
virtual wxObjectRefData *CreateRefData() const;
// create a new m_refData initialized with the given one
- virtual wxObjectRefData *CloneRefData(wxObjectRefData *data) const;
+ virtual wxObjectRefData *CloneRefData(const wxObjectRefData *data) const;
wxObjectRefData *m_refData;
};
return new wxRegionRefData;
}
-wxObjectRefData *wxRegion::CloneRefData(wxObjectRefData *data) const
+wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const
{
return new wxRegionRefData(*(wxRegionRefData *)data);
}