X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6afc1b46650ee234868fd4f38526e22a664b6638..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/palmos/pen.cpp diff --git a/src/palmos/pen.cpp b/src/palmos/pen.cpp index 4ed1a1abd1..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) { } @@ -92,7 +92,7 @@ void wxPen::SetWidth(int Width) { } -void wxPen::SetStyle(int Style) +void wxPen::SetStyle(wxPenStyle Style) { } @@ -104,11 +104,11 @@ 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) { } @@ -119,6 +119,6 @@ wxGDIRefData *wxPen::CreateGDIRefData() const wxGDIRefData *wxPen::CloneGDIRefData(const wxGDIRefData *data) const { - return new wxPenRefData(*wx_static_cast(const wxPenRefData *, data)); + return new wxPenRefData(*static_cast(data)); }