]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/glcanvas.cpp
Ensure there is valid context for DrawRectangle
[wxWidgets.git] / src / x11 / glcanvas.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;