#include "wx/wxprec.h"
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
-#ifndef WX_PRECOMP
-#include <stdio.h>
-#include "wx/setup.h"
-#include "wx/list.h"
-#include "wx/utils.h"
-#include "wx/app.h"
#include "wx/pen.h"
+
+#ifndef WX_PRECOMP
+ #include <stdio.h>
+ #include "wx/list.h"
+ #include "wx/utils.h"
+ #include "wx/app.h"
#endif
static int wx2msPenStyle(int wx_style);
}
// Should implement Create
-wxPen::wxPen(const wxColour& col, int Width, int Style)
+wxPen::wxPen(const wxColour& col, int Width, wxPenStyle Style)
{
}
return false;
}
-void wxPen::Unshare()
-{
-}
-
void wxPen::SetColour(const wxColour& col)
{
}
{
}
-void wxPen::SetStyle(int Style)
+void wxPen::SetStyle(wxPenStyle Style)
{
}
{
}
-void wxPen::SetJoin(int Join)
+void wxPen::SetJoin(wxPenJoin Join)
{
}
-void wxPen::SetCap(int Cap)
+void wxPen::SetCap(wxPenCap Cap)
{
}
+
+wxGDIRefData *wxPen::CreateGDIRefData() const
+{
+ return new wxPenRefData();
+}
+
+wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
+{
+ return new wxPenRefData(*static_cast<const wxPenRefData *>(data));
+}
+