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
This commit is contained in:
Robert Roebling
2009-01-22 13:34:17 +00:00
parent 06a4274546
commit cd8445da0f

View 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