diff --git a/src/x11/glcanvas.cpp b/src/x11/glcanvas.cpp index 2689a7af08..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; diff --git a/src/x11/pango_x.cpp b/src/x11/pango_x.cpp index f71993db00..0e82c04f96 100644 --- a/src/x11/pango_x.cpp +++ b/src/x11/pango_x.cpp @@ -87,6 +87,7 @@ x11_draw_glyphs( Drawable drawable, else #endif { + wxUnusedVar(colour); pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y ); } }