X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..3cacae09fad9fee2c9cb222455e0f9aa4fa11d37:/include/wx/msw/palette.h diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index bddc8a334c..f7dffc57b0 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -41,11 +41,11 @@ public: inline wxPalette(const wxPalette& palette) { Ref(palette); } inline wxPalette(const wxPalette* palette) { /* UnRef(); */ if (palette) Ref(*palette); } - 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(void); - 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; virtual bool Ok(void) const { return (m_refData != NULL) ; }