]> git.saurik.com Git - wxWidgets.git/commitdiff
use the same constant the other ports use instead of a magic number
authorRobin Dunn <robin@alldunn.com>
Sun, 6 Apr 2008 02:38:17 +0000 (02:38 +0000)
committerRobin Dunn <robin@alldunn.com>
Sun, 6 Apr 2008 02:38:17 +0000 (02:38 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataview.cpp

index c1a3c82123072ad3414f055db0bddd52989a14e3..f44b045bd6cff43af4ee41293b018cf279af7ebc 100644 (file)
@@ -2653,7 +2653,7 @@ void wxDataViewColumn::SetWidth( int width )
         gtk_tree_view_column_set_sizing( GTK_TREE_VIEW_COLUMN(m_column), GTK_TREE_VIEW_COLUMN_FIXED );
 
         // TODO find a better calculation
-        gtk_tree_view_column_set_fixed_width( GTK_TREE_VIEW_COLUMN(m_column), 80 );
+        gtk_tree_view_column_set_fixed_width( GTK_TREE_VIEW_COLUMN(m_column), wxDVC_DEFAULT_WIDTH );
 #else
         // this is unpractical for large numbers of items and disables
         // user resizing, which is totally unexpected