From: Vadim Zeitlin Date: Sat, 20 Mar 2010 13:03:00 +0000 (+0000) Subject: Fix a couple of harmless unused parameter warnings in wxX11. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/21867d9888fbd096ad1a2ea4bb6ef0959ae38e64?ds=inline Fix a couple of harmless unused parameter warnings in wxX11. See #11818. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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 ); } }