X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..c86f1403c3737c07d58676a203f4707942684a01:/include/wx/gtk/palette.h?ds=sidebyside diff --git a/include/wx/gtk/palette.h b/include/wx/gtk/palette.h index 2163e73309..d6b7bbb64b 100644 --- a/include/wx/gtk/palette.h +++ b/include/wx/gtk/palette.h @@ -38,7 +38,7 @@ class wxPalette: public wxGDIObject public: wxPalette(void); - wxPalette( const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ); + wxPalette( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ); wxPalette( const wxPalette& palette ); wxPalette( const wxPalette* palette ); ~wxPalette(void); @@ -47,10 +47,10 @@ class wxPalette: public wxGDIObject bool operator != ( const wxPalette& palette ); bool Ok(void) const; - bool Create( const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); + bool Create( int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); int GetPixel( const unsigned char red, const unsigned char green, const unsigned char blue ) const; - bool GetRGB( const int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const; - + bool GetRGB( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const; + // no data };