X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fb067bbe6ca68e12c4f14d734001c5a9bd6d4a1..19e30148e18cc99296b26503c155e5cef59045f4:/src/msw/region.cpp diff --git a/src/msw/region.cpp b/src/msw/region.cpp index d0336daaff..ec84dd0205 100644 --- a/src/msw/region.cpp +++ b/src/msw/region.cpp @@ -119,20 +119,17 @@ wxRegion::wxRegion(size_t n, const wxPoint *points, int fillStyle) #endif } -/* - * Destroy the region. - */ wxRegion::~wxRegion() { // m_refData unrefed in ~wxObject } -wxObjectRefData *wxRegion::CreateData() const +wxObjectRefData *wxRegion::CreateRefData() const { return new wxRegionRefData; } -wxObjectRefData *wxRegion::CloneData(wxObjectRefData *data) const +wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const { return new wxRegionRefData(*(wxRegionRefData *)data); }