X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/025763083a33cbab4e5de75657a6ca991c1e5149..ccdcde00d9ae27ca20ff6c3c9495918a0ec725aa:/src/msw/region.cpp diff --git a/src/msw/region.cpp b/src/msw/region.cpp index 22340bfb5b..ec84dd0205 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -129,7 +129,7 @@ wxObjectRefData *wxRegion::CreateRefData() const return new wxRegionRefData; } -wxObjectRefData *wxRegion::CloneRefData(wxObjectRefData *data) const +wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const { return new wxRegionRefData(*(wxRegionRefData *)data); }