X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d6f2a8911e509fd9e61f881cc881a97f5aa05ae8..ea3a345f1cfb510f49a3aca5d8fb38a0a3edde3d:/src/msw/pen.cpp diff --git a/src/msw/pen.cpp b/src/msw/pen.cpp index a43d02b14d..9df28c6731 100644 --- a/src/msw/pen.cpp +++ b/src/msw/pen.cpp @@ -469,12 +469,12 @@ bool wxPen::IsFree() const return M_PENDATA && !M_PENDATA->HasHPEN(); } -wxObjectRefData* wxPen::CreateRefData() const +wxGDIRefData* wxPen::CreateGDIRefData() const { return new wxPenRefData; } -wxObjectRefData* wxPen::CloneRefData(const wxObjectRefData* data) const +wxGDIRefData* wxPen::CloneGDIRefData(const wxGDIRefData* data) const { return new wxPenRefData(*wx_static_cast(const wxPenRefData*, data)); }