X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..3f7bc32b539472f7aa577ffa140e287b0dc4c90d:/include/wx/gtk/palette.h diff --git a/include/wx/gtk/palette.h b/include/wx/gtk/palette.h index d6b7bbb64b..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,17 +36,16 @@ class wxPalette: public wxGDIObject DECLARE_DYNAMIC_CLASS(wxPalette) public: - - wxPalette(void); + + 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 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( int pixel, unsigned char *red, unsigned char *green, unsigned char *blue ) const;