Change EnsureVisble() to including column parameter, implemented it for wxGTK

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-08-19 21:44:34 +00:00
parent 6798451bb2
commit 6154212e51
5 changed files with 11 additions and 5 deletions

View File

@@ -3033,8 +3033,13 @@ void wxDataViewCtrl::UnselectAll()
{
}
void wxDataViewCtrl::EnsureVisible( const wxDataViewItem & item )
void wxDataViewCtrl::EnsureVisible( const wxDataViewItem & item, wxDataViewColumn *column )
{
GtkTreeIter iter;
iter.user_data = (gpointer) item.GetID();
GtkTreePath *path = m_internal->get_path( &iter );
gtk_tree_view_scroll_to_cell( GTK_TREE_VIEW(m_treeview), path, NULL, false, 0.0, 0.0 );
gtk_tree_path_free( path );
}
void wxDataViewCtrl::DoSetExpanderColumn()