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