X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c33522fca7cddc441a316f5b9fb50d7685435ba..404b319a85dadd7decf7a5a5331020520031a41c:/src/msw/palette.cpp diff --git a/src/msw/palette.cpp b/src/msw/palette.cpp index a9c9fc8056..2547d98851 100644 --- a/src/msw/palette.cpp +++ b/src/msw/palette.cpp @@ -32,9 +32,9 @@ public: wxPaletteRefData() { Init(); } wxPaletteRefData(int n, - unsigned char *red, - unsigned char *green, - unsigned char *blue) + const unsigned char *red, + const unsigned char *green, + const unsigned char *blue) { Init(); @@ -117,9 +117,9 @@ IMPLEMENT_DYNAMIC_CLASS(wxPalette, wxGDIObject) #define M_PALETTEDATA ((wxPaletteRefData *)m_refData) bool wxPalette::Create(int n, - unsigned char *red, - unsigned char *green, - unsigned char *blue) + const unsigned char *red, + const unsigned char *green, + const unsigned char *blue) { m_refData = new wxPaletteRefData(n, red, green, blue);