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
This commit is contained in:
Vadim Zeitlin
2010-03-20 13:03:00 +00:00
parent e3728f8a8d
commit 21867d9888
2 changed files with 2 additions and 1 deletions

View File

@@ -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;

View File

@@ -87,6 +87,7 @@ x11_draw_glyphs( Drawable drawable,
else
#endif
{
wxUnusedVar(colour);
pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
}
}