X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/521bf4ff3ef47059265beff5d53c9e1162beb122..0d19936d71032ba7658616faed3b63d4c930e5b4:/src/palmos/pen.cpp diff --git a/src/palmos/pen.cpp b/src/palmos/pen.cpp index 1290ab10ae..c9db991ae5 100644 --- a/src/palmos/pen.cpp +++ b/src/palmos/pen.cpp @@ -13,15 +13,16 @@ #include "wx/wxprec.h" #ifdef __BORLANDC__ -#pragma hdrstop + #pragma hdrstop #endif +#include "wx/pen.h" + #ifndef WX_PRECOMP #include #include "wx/list.h" #include "wx/utils.h" #include "wx/app.h" - #include "wx/pen.h" #endif static int wx2msPenStyle(int wx_style); @@ -51,7 +52,7 @@ wxPen::~wxPen() } // Should implement Create -wxPen::wxPen(const wxColour& col, int Width, int Style) +wxPen::wxPen(const wxColour& col, int Width, wxPenStyle Style) { } @@ -79,10 +80,6 @@ bool wxPen::IsFree() const return false; } -void wxPen::Unshare() -{ -} - void wxPen::SetColour(const wxColour& col) { } @@ -95,7 +92,7 @@ void wxPen::SetWidth(int Width) { } -void wxPen::SetStyle(int Style) +void wxPen::SetStyle(wxPenStyle Style) { } @@ -107,10 +104,21 @@ void wxPen::SetDashes(int nb_dashes, const wxDash *Dash) { } -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(data)); +} +