use the same constant the other ports use instead of a magic number

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2008-04-06 02:38:17 +00:00
parent 247ca48fec
commit 97e89e2931

View 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