]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't always show the vertical scrollbar
authorRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 12:50:04 +0000 (12:50 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 23 Jan 2009 12:50:04 +0000 (12:50 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataview.cpp

index 0ee71bf7dde67c0a12e4b10fa65213972c42905c..2d8a29c111169d671b62350ddff9990be20ba050 100644 (file)
@@ -3874,7 +3874,7 @@ bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id,
     gtk_tree_view_set_rules_hint( GTK_TREE_VIEW(m_treeview), (style & wxDV_ROW_LINES) != 0 );
 
     gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (m_widget),
-        GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS);
+        GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
     gtk_widget_show (m_treeview);
 
     m_parent->DoAddChild( this );