X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f5590243955d800aaeee4e2c3b8c4aec14919181..2e14066008229145e2da7b9f05a478ce38631f83:/src/palmos/pen.cpp diff --git a/src/palmos/pen.cpp b/src/palmos/pen.cpp index af9311f7c2..c9db991ae5 100644 --- a/src/palmos/pen.cpp +++ b/src/palmos/pen.cpp @@ -52,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) { } @@ -80,10 +80,6 @@ bool wxPen::IsFree() const return false; } -void wxPen::Unshare() -{ -} - void wxPen::SetColour(const wxColour& col) { } @@ -96,7 +92,7 @@ void wxPen::SetWidth(int Width) { } -void wxPen::SetStyle(int Style) +void wxPen::SetStyle(wxPenStyle Style) { } @@ -108,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(wxPenCap Cap) { } -void wxPen::SetCap(int Cap) +wxGDIRefData *wxPen::CreateGDIRefData() const { + return new wxPenRefData(); } + +wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const +{ + return new wxPenRefData(*static_cast(data)); +} +