]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
unused parameter warnings suppressed
[wxWidgets.git] / src / gtk1 / window.cpp
index 1cc1b40434972962de461bff551aa0f74b5cf33b..536053d5d48c25afebaa2f09ca8b4809cfb50917 100644 (file)
@@ -146,7 +146,7 @@ static guint32 gs_timeLastClick = 0;
 
 static gint gtk_debug_focus_in_callback( GtkWidget *WXUNUSED(widget),
                                          GdkEvent *WXUNUSED(event),
-                                         const wxChar *name )
+                                         const wxChar *WXUNUSED(name) )
 {
 /*
     static bool s_done = FALSE;
@@ -2268,7 +2268,9 @@ void wxWindow::DoSetClientSize( int width, int height )
             if (HasScrolling())
             {
                 GtkScrolledWindow *scroll_window = GTK_SCROLLED_WINDOW(m_widget);
+#if 0 // unused - if this is ok, just remove this line (VZ)
                 GtkScrolledWindowClass *scroll_class = GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT(m_widget)->klass );
+#endif // 0
 
                 GtkWidget *viewport = scroll_window->viewport;
                 GtkStyleClass *viewport_class = viewport->style->klass;
@@ -2334,7 +2336,9 @@ void wxWindow::DoGetClientSize( int *width, int *height ) const
         {
             if (HasScrolling())
             {
+#if 0 // unused - if this is ok, just remove this line (VZ)
                 GtkScrolledWindow *scroll_window = GTK_SCROLLED_WINDOW(m_widget);
+#endif // 0
                 GtkScrolledWindowClass *scroll_class = GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT(m_widget)->klass );
 
                 GtkWidget *viewport = scroll_window->viewport;