X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/debe6624c1e9d4bf3243381153d1e173c849bcd8..b8ecf3e993fe25a9eadd9e0b381e0d81fe6ab2e8:/include/wx/gtk1/palette.h diff --git a/include/wx/gtk1/palette.h b/include/wx/gtk1/palette.h index d6b7bbb64b..8574526cb3 100644 --- a/include/wx/gtk1/palette.h +++ b/include/wx/gtk1/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;