X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c801d85f158c4cba50b588807daabdcbd0ed3853..ab20a9a95a8bbed75bfc6ecba20f013eb9dcff46:/include/wx/gtk/palette.h diff --git a/include/wx/gtk/palette.h b/include/wx/gtk/palette.h index 2163e73309..8574526cb3 100644 --- a/include/wx/gtk/palette.h +++ b/include/wx/gtk/palette.h @@ -5,7 +5,7 @@ // Created: 01/02/97 // Id: // Copyright: (c) 1998 Robert Roebling, Julian Smart and Markus Holzem -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -36,21 +36,20 @@ class wxPalette: public wxGDIObject DECLARE_DYNAMIC_CLASS(wxPalette) public: - - wxPalette(void); - wxPalette( const int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue ); + + wxPalette(); + 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); + ~wxPalette(); wxPalette& operator = ( const wxPalette& palette ); bool operator == ( const wxPalette& palette ); 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 Ok() const; + + 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 };