X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbf858b5d69f53efd3950cae99322f54355aa983..62bd087498a21a9e49723bd85c8d8a2ab71c4c35:/src/gtk/colour.cpp?ds=inline diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index de361155a8..09479c1230 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -67,7 +67,7 @@ wxColour::wxColour() { } -wxColour::wxColour( char red, char green, char blue ) +wxColour::wxColour( unsigned char red, unsigned char green, unsigned char blue ) { m_refData = new wxColourRefData(); M_COLDATA->m_color.red = ((unsigned short)red) << SHIFT; @@ -128,7 +128,7 @@ bool wxColour::operator != ( const wxColour& col) return m_refData != col.m_refData; } -void wxColour::Set( const unsigned char red, const unsigned char green, const unsigned char blue ) +void wxColour::Set( unsigned char red, unsigned char green, unsigned char blue ) { UnRef(); m_refData = new wxColourRefData();