X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01111366c9b4ea40eee7f4b13ddfe6f6b9f886db..265898fd794beb9dc11b0fc85e081f9babdc7085:/src/gtk/colour.cpp diff --git a/src/gtk/colour.cpp b/src/gtk/colour.cpp index 7e57df104f..09479c1230 100644 --- a/src/gtk/colour.cpp +++ b/src/gtk/colour.cpp @@ -2,9 +2,8 @@ // Name: colour.cpp // Purpose: // Author: Robert Roebling -// Created: 01/02/97 -// Id: -// Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem +// Id: $Id$ +// Copyright: (c) 1998 Robert Roebling // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -68,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; @@ -129,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();