X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/550343399aa1355469ffed72c8cf84c732dcf98b..04bf2fb51514e3ec8631a1d8ea1f610fca851005:/src/x11/pen.cpp?ds=sidebyside diff --git a/src/x11/pen.cpp b/src/x11/pen.cpp index 6fc6a57176..5dd99899cb 100644 --- a/src/x11/pen.cpp +++ b/src/x11/pen.cpp @@ -122,7 +122,7 @@ void wxPen::SetDashes( int number_of_dashes, const wxDash *dash ) M_PENDATA->m_dash = (wxX11Dash *)dash; // TODO } -void wxPen::SetColour( int red, int green, int blue ) +void wxPen::SetColour( unsigned char red, unsigned char green, unsigned char blue ) { AllocExclusive(); @@ -147,7 +147,7 @@ void wxPen::SetStipple( wxBitmap *stipple ) { AllocExclusive(); - M_PENDATA->m_stipple = *stipple;; + M_PENDATA->m_stipple = *stipple; } void wxPen::SetStyle( int style )