X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..830f8f11bca5c0892ae767ba14790c8b5b59011f:/include/wx/mgl/palette.h diff --git a/include/wx/mgl/palette.h b/include/wx/mgl/palette.h index 00c12217d6..436f02b208 100644 --- a/include/wx/mgl/palette.h +++ b/include/wx/mgl/palette.h @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: palette.h +// Name: wx/mgl/palette.h // Purpose: // Author: Vaclav Slavik // Created: 2001/03/11 @@ -34,15 +34,13 @@ class WXDLLEXPORT wxPalette: public wxPaletteBase public: wxPalette(); wxPalette(int n, const unsigned char *red, const unsigned char *green, const unsigned char *blue); - wxPalette(const wxPalette& palette); ~wxPalette(); - wxPalette& operator = (const wxPalette& palette); bool operator == (const wxPalette& palette) const; bool operator != (const wxPalette& palette) const; virtual 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; + int GetPixel(unsigned char red, unsigned char green, unsigned char blue) const; bool GetRGB(int pixel, unsigned char *red, unsigned char *green, unsigned char *blue) const; // implementation