X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/53a2db124c633f80bdb16336084262037d879a2c..11e3c6ef36393fb5863ea2f9601d8facd73acb12:/include/wx/msw/palette.h?ds=sidebyside diff --git a/include/wx/msw/palette.h b/include/wx/msw/palette.h index 9d28bbfc3a..7d0cacec6a 100644 --- a/include/wx/msw/palette.h +++ b/include/wx/msw/palette.h @@ -19,13 +19,13 @@ class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase public: wxPalette() { } wxPalette(int n, - unsigned char *red, unsigned char *green, unsigned char *blue) + const unsigned char *red, const unsigned char *green, const unsigned char *blue) { Create(n, red, green, blue); } bool Create(int n, - unsigned char *red, unsigned char *green, unsigned char *blue); + const unsigned char *red, const unsigned char *green, const unsigned char *blue); virtual int GetColoursCount() const;