// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "pen.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#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(wxPenCap Cap)
+{
+}
+
+wxGDIRefData *wxPen::CreateGDIRefData() const
{
+ return new wxPenRefData();
}
-void wxPen::SetCap(int Cap)
+wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const
{
+ return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data));
}