X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6906a06a24cf6dd081f1bc955c3255765a0b845..8f884a0dccd6b642f35c441ac9bfc87a6d5b4d35:/src/gtk1/region.cpp diff --git a/src/gtk1/region.cpp b/src/gtk1/region.cpp index acad6e5f64..b8f140cb72 100644 --- a/src/gtk1/region.cpp +++ b/src/gtk1/region.cpp @@ -49,7 +49,7 @@ private: // wxRegionRefData: private class containing the information about the region // ---------------------------------------------------------------------------- -class wxRegionRefData : public wxObjectRefData +class wxRegionRefData : public wxGDIRefData { public: wxRegionRefData() @@ -58,7 +58,7 @@ public: } wxRegionRefData(const wxRegionRefData& refData) - : wxObjectRefData() + : wxGDIRefData() { m_region = gdk_regions_union(wxGdkRegion(), refData.m_region); } @@ -136,12 +136,12 @@ wxRegion::~wxRegion() // m_refData unrefed in ~wxObject } -wxObjectRefData *wxRegion::CreateRefData() const +wxGDIRefData *wxRegion::CreateGDIRefData() const { return new wxRegionRefData; } -wxObjectRefData *wxRegion::CloneRefData(const wxObjectRefData *data) const +wxGDIRefData *wxRegion::CloneGDIRefData(const wxGDIRefData *data) const { return new wxRegionRefData(*(wxRegionRefData *)data); } @@ -380,7 +380,7 @@ struct _XRegion { }; -class wxRIRefData: public wxObjectRefData +class wxRIRefData : public wxGDIRefData { public: wxRIRefData() { Init(); }