X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/014b0d064e59429b7afe4466fa4f0a351d012fdc..07d4b94c3b5d8876d3c9a5f93048afdd6734fe78:/src/gtk/window.cpp?ds=sidebyside diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 536053d5d4..5b0eb48f98 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -2336,10 +2336,10 @@ 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 +#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;