From cd8445da0f0e4176d28a9d84c96798333e040392 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Thu, 22 Jan 2009 13:34:17 +0000 Subject: [PATCH] Respect that GTK+ wants to have space between scrollbar and client area git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/window.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/gtk/window.cpp b/src/gtk/window.cpp index 34c8e8b..0b4bb5f 100644 --- a/src/gtk/window.cpp +++ b/src/gtk/window.cpp @@ -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 -- 2.7.4