X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f55c979a009b3c364e60731670f5698b448ba963..ae46a7fd15bff134460b9af46af896136b018fad:/src/cocoa/pen.mm

diff --git a/src/cocoa/pen.mm b/src/cocoa/pen.mm
index b5e6e36065..5920dc035a 100644
--- a/src/cocoa/pen.mm
+++ b/src/cocoa/pen.mm
@@ -266,12 +266,12 @@ wxPen::wxPen(const wxBitmap& stipple, int width)
     m_refData = new wxPenRefData(wxNullColour,width,wxSTIPPLE,stipple);
 }
 
-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(*(wxPenRefData *)data);
 }