// Author: Julian Smart and Wolfram Gloger
// Modified by: Vadim Zeitlin to update to new API
// Created: 1995, 1999
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart, Wolfram Gloger
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
long style,
const wxString& name,
const int *attribList,
- const wxPalette& palette)
+ const wxPalette& WXUNUSED(palette))
{
if ( !wxWindow::Create(parent, id, pos, size, style, name) )
return false;
int wxGLCanvas::GetColourIndex(const wxColour& col_)
{
- wxColour& col = wx_const_cast(wxColour&, col_);
+ wxColour& col = const_cast<wxColour&>(col_);
#ifdef __WXMOTIF__
col.AllocColour(GetXDisplay());