// Author: Julian Smart
// Modified by:
// Created: 04/01/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
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);