]> git.saurik.com Git - wxWidgets.git/commitdiff
another unused param warning
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 15:35:53 +0000 (15:35 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 11 May 1999 15:35:53 +0000 (15:35 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp
src/gtk1/window.cpp

index 4af269002499ea6c8e003b55126177d664da27c4..a3ccbc764f9f8bb7cb10bc1b98ac9a5755184850 100644 (file)
@@ -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;
index 4af269002499ea6c8e003b55126177d664da27c4..a3ccbc764f9f8bb7cb10bc1b98ac9a5755184850 100644 (file)
@@ -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;