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:
@@ -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;
|
||||
|
@@ -87,6 +87,7 @@ x11_draw_glyphs( Drawable drawable,
|
||||
else
|
||||
#endif
|
||||
{
|
||||
wxUnusedVar(colour);
|
||||
pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user