compilation fix after last commit: wxPenRefData, not wxFontRefData

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-03-11 02:35:02 +00:00
parent 0df7cb7e43
commit 385fa87513

View File

@ -316,12 +316,12 @@ bool wxPen::IsFree() const
wxObjectRefData* wxPen::CreateRefData() const
{
return new wxFontRefData;
return new wxPenRefData;
}
wxObjectRefData* wxPen::CloneRefData(const wxObjectRefData* data) const
{
return new wxFontRefData(*wx_static_cast(const wxPenRefData*, data));
return new wxPenRefData(*wx_static_cast(const wxPenRefData*, data));
}
void wxPen::SetColour(const wxColour& col)