X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/498ace9e1f08b1e177b1a883ac69d12385e805b0..94e0018723919fe2ca2f5b5f0a42804c16dbf3a1:/src/x11/glcanvas.cpp diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index acc31346dd..3fd27b8691 100644 --- a/src/x11/glcanvas.cpp +++ b/src/x11/glcanvas.cpp @@ -61,7 +61,7 @@ bool wxGLCanvas::Create(wxWindow *parent, 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; @@ -84,7 +84,7 @@ Window wxGLCanvas::GetXWindow() const int wxGLCanvas::GetColourIndex(const wxColour& col_) { - wxColour& col = wx_const_cast(wxColour&, col_); + wxColour& col = const_cast(col_); #ifdef __WXMOTIF__ col.AllocColour(GetXDisplay());