X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/45e0dc94770d598a1cc84d83730d470dd1cfbcca..e5ee4c908b9dbcf07f0441aa74d8635b7343be4d:/include/wx/os2/region.h diff --git a/include/wx/os2/region.h b/include/wx/os2/region.h index 92b49a2980..442dee1586 100644 --- a/include/wx/os2/region.h +++ b/include/wx/os2/region.h @@ -213,8 +213,8 @@ public: protected: virtual wxObjectRefData* CreateData(void) const; - virtual wxObjectRefData* CloneData(wxObjectRefData* pData) const; - + virtual wxObjectRefData* CloneData(const wxObjectRefData* pData) const; + friend class WXDLLEXPORT wxRegionIterator; DECLARE_DYNAMIC_CLASS(wxRegion);