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();
#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);