Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2509,6 +2509,15 @@ void wxDataViewColumn::SetWidth( int width )
|
||||
gtk_tree_view_column_set_fixed_width( GTK_TREE_VIEW_COLUMN(m_column), width );
|
||||
}
|
||||
|
||||
void wxDataViewColumn::SetReorderable( bool reorderable )
|
||||
{
|
||||
gtk_tree_view_column_set_reorderable( GTK_TREE_VIEW_COLUMN(m_column), reorderable );
|
||||
}
|
||||
|
||||
bool wxDataViewColumn::IsReorderable() const
|
||||
{
|
||||
return gtk_tree_view_column_get_reorderable( GTK_TREE_VIEW_COLUMN(m_column) );
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// wxGtkTreeModelNode
|
||||
|
Reference in New Issue
Block a user