X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/65045edde4a36217aebb214d841b658f28eb6ac7..07d4b94c3b5d8876d3c9a5f93048afdd6734fe78:/src/gtk/window.cpp diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 1cc1b40434..5b0eb48f98 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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; @@ -2335,7 +2337,9 @@ void wxWindow::DoGetClientSize( int *width, int *height ) const 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;