/////////////////////////////////////////////////////////////////////////////
-// Name: src/gtk/pen.cpp
+// Name: src/gtk1/pen.cpp
// Purpose:
// Author: Robert Roebling
// Id: $Id$
#include "wx/wxprec.h"
#include "wx/pen.h"
-#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+ #include "wx/colour.h"
+#endif
#include <gdk/gdk.h>
// wxPen
//-----------------------------------------------------------------------------
-class wxPenRefData: public wxObjectRefData
+class wxPenRefData : public wxGDIRefData
{
public:
wxPenRefData()
}
wxPenRefData( const wxPenRefData& data )
- : wxObjectRefData()
+ : wxGDIRefData()
{
m_style = data.m_style;
m_width = data.m_width;
// 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);
}