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:
@@ -2122,8 +2122,11 @@ bool wxWindowGTK::Create( wxWindow *parent,
|
|||||||
|
|
||||||
GtkScrolledWindow *scrolledWindow = GTK_SCROLLED_WINDOW(m_widget);
|
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) );
|
GtkScrolledWindowClass *scroll_class = GTK_SCROLLED_WINDOW_CLASS( GTK_OBJECT_GET_CLASS(m_widget) );
|
||||||
scroll_class->scrollbar_spacing = 0;
|
scroll_class->scrollbar_spacing = 0;
|
||||||
|
#endif
|
||||||
|
|
||||||
// There is a conflict with default bindings at GTK+
|
// There is a conflict with default bindings at GTK+
|
||||||
// level between scrolled windows and notebooks both of which want to use
|
// level between scrolled windows and notebooks both of which want to use
|
||||||
|
Reference in New Issue
Block a user