diff --git a/include/wx/gtk/colour.h b/include/wx/gtk/colour.h index e994c2e089..72d724cab1 100644 --- a/include/wx/gtk/colour.h +++ b/include/wx/gtk/colour.h @@ -43,7 +43,7 @@ public: // default wxColour(); // from RGB - wxColour( char red, char green, char blue ); + wxColour( unsigned char red, unsigned char green, unsigned char blue ); // implicit conversion from the colour name wxColour( const wxString &colourName ) { InitFromName(colourName); } wxColour( const char *colourName ) { InitFromName(colourName); } diff --git a/include/wx/gtk1/colour.h b/include/wx/gtk1/colour.h index e994c2e089..72d724cab1 100644 --- a/include/wx/gtk1/colour.h +++ b/include/wx/gtk1/colour.h @@ -43,7 +43,7 @@ public: // default wxColour(); // from RGB - wxColour( char red, char green, char blue ); + wxColour( unsigned char red, unsigned char green, unsigned char blue ); // implicit conversion from the colour name wxColour( const wxString &colourName ) { InitFromName(colourName); } wxColour( const char *colourName ) { InitFromName(colourName); }