]> git.saurik.com Git - wxWidgets.git/commitdiff
Respect that GTK+ wants to have space between scrollbar and client area
authorRobert Roebling <robert@roebling.de>
Thu, 22 Jan 2009 13:34:17 +0000 (13:34 +0000)
committerRobert Roebling <robert@roebling.de>
Thu, 22 Jan 2009 13:34:17 +0000 (13:34 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 34c8e8bce06b5a61477f4b1e5ce32a1922a7bb46..0b4bb5f0e4084b78c0ea664c0dd79b74d142c480 100644 (file)
@@ -2122,8 +2122,11 @@ bool wxWindowGTK::Create( wxWindow *parent,
 
         GtkScrolledWindow *scrolledWindow = GTK_SCROLLED_WINDOW(m_widget);
 
+        // We should accept the native look
+#if 0   
         GtkScrolledWindowClass *scroll_class = GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT_GET_CLASS(m_widget) );
         scroll_class->scrollbar_spacing = 0;
+#endif
 
         // There is a conflict with default bindings at GTK+
         // level between scrolled windows and notebooks both of which want to use