X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0fb067bbe6ca68e12c4f14d734001c5a9bd6d4a1..e7300ec6d9ebbd1cfa2fcf12c0ce6e5aee85a152:/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); }