]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
ambiguous ctor call resolved
[wxWidgets.git] / src / gtk / window.cpp
index 536053d5d48c25afebaa2f09ca8b4809cfb50917..5b0eb48f98d048b9737a53170aa069944fe507bf 100644 (file)
@@ -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;