From: Vadim Zeitlin Date: Tue, 11 May 1999 15:35:53 +0000 (+0000) Subject: another unused param warning X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a234a61ad34223528f094e70a7ced0d283129375?ds=sidebyside another unused param warning git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 4af2690024..a3ccbc764f 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -1369,7 +1369,7 @@ wxWindow *wxWindowBase::FindFocus() been realized, so we do this directly after realization */ static gint -gtk_window_realized_callback( GtkWidget *widget, wxWindow *win ) +gtk_window_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win ) { if (g_isIdle) wxapp_install_idle_handler(); @@ -2474,7 +2474,9 @@ static void SetInvokingWindow( wxMenu *menu, wxWindow *win ) static gint gs_pop_x = 0; static gint gs_pop_y = 0; -static void pop_pos_callback( GtkMenu *menu, gint *x, gint *y, wxWindow *win ) +static void pop_pos_callback( GtkMenu * WXUNUSED(menu), + gint *x, gint *y, + wxWindow *win ) { win->ClientToScreen( &gs_pop_x, &gs_pop_y ); *x = gs_pop_x; diff --git a/src/gtk1/window.cpp b/src/gtk1/window.cpp index 4af2690024..a3ccbc764f 100644 --- a/src/gtk1/window.cpp +++ b/src/gtk1/window.cpp @@ -1369,7 +1369,7 @@ wxWindow *wxWindowBase::FindFocus() been realized, so we do this directly after realization */ static gint -gtk_window_realized_callback( GtkWidget *widget, wxWindow *win ) +gtk_window_realized_callback( GtkWidget * WXUNUSED(widget), wxWindow *win ) { if (g_isIdle) wxapp_install_idle_handler(); @@ -2474,7 +2474,9 @@ static void SetInvokingWindow( wxMenu *menu, wxWindow *win ) static gint gs_pop_x = 0; static gint gs_pop_y = 0; -static void pop_pos_callback( GtkMenu *menu, gint *x, gint *y, wxWindow *win ) +static void pop_pos_callback( GtkMenu * WXUNUSED(menu), + gint *x, gint *y, + wxWindow *win ) { win->ClientToScreen( &gs_pop_x, &gs_pop_y ); *x = gs_pop_x;