X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bca03736369e836cce9297509505c5972e775dd..9a958328220b25226d259e43791eee4b06fe86ef:/src/x11/pen.cpp diff --git a/src/x11/pen.cpp b/src/x11/pen.cpp index a6497da927..079472dbdf 100644 --- a/src/x11/pen.cpp +++ b/src/x11/pen.cpp @@ -17,15 +17,14 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/bitmap.h" + #include "wx/colour.h" #endif -#include "wx/colour.h" - //----------------------------------------------------------------------------- // wxPen //----------------------------------------------------------------------------- -class wxPenRefData: public wxObjectRefData +class wxPenRefData : public wxGDIRefData { public: wxPenRefData() @@ -92,12 +91,12 @@ wxPen::~wxPen() // m_refData unrefed in ~wxObject } -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); }