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