fix more unused parameters warnings

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-10-29 12:10:48 +00:00
parent 2deccb4e8c
commit e0d1fd7f6e
4 changed files with 54 additions and 24 deletions

View File

@@ -89,7 +89,9 @@ gtk_glwindow_expose_callback( GtkWidget *WXUNUSED(widget), GdkEventExpose *gdk_e
extern "C" {
static void
gtk_glcanvas_size_callback( GtkWidget *WXUNUSED(widget), GtkAllocation* alloc, wxGLCanvas *win )
gtk_glcanvas_size_callback(GtkWidget *WXUNUSED(widget),
GtkAllocation * WXUNUSED(alloc),
wxGLCanvas *win)
{
if (!win->m_hasVMT)
return;
@@ -175,8 +177,10 @@ bool wxGLCanvas::Create(wxWindow *parent,
long style,
const wxString& name,
const int *attribList,
const wxPalette& palette)
const wxPalette& WXUNUSED_UNLESS_DEBUG(palette))
{
wxASSERT_MSG( !palette.IsOk(), _T("palettes not supported") );
m_exposed = false;
m_noExpose = true;
m_nativeSizeEvent = true;