]> git.saurik.com Git - wxWidgets.git/commitdiff
Fix a couple of harmless unused parameter warnings in wxX11.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Mar 2010 13:03:00 +0000 (13:03 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 20 Mar 2010 13:03:00 +0000 (13:03 +0000)
See #11818.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/x11/glcanvas.cpp
src/x11/pango_x.cpp

index 2689a7af088c06b9cdc6329b197d50dba16747c6..3fd27b8691ae0bd38d78a29fdbe65549571a87f2 100644 (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;
index f71993db007032d1cf49189c804b80d67420cbde..0e82c04f96f0ca7f78c20895e91a419e7abd95b8 100644 (file)
@@ -87,6 +87,7 @@ x11_draw_glyphs( Drawable            drawable,
     else
 #endif
     {
+        wxUnusedVar(colour);
         pango_x_render( wxGlobalDisplay(), drawable, gc, font, glyphs, x, y );
     }
 }