Call Expand on an item's parent chain in EnsureVisible

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2008-12-20 15:11:38 +00:00
parent 4a745e76b1
commit a881f34e49
5 changed files with 36 additions and 5 deletions

View File

@@ -4187,8 +4187,10 @@ void wxDataViewCtrl::UnselectAll()
}
void wxDataViewCtrl::EnsureVisible(const wxDataViewItem& item,
const wxDataViewColumn *WXUNUSED(column))
const wxDataViewColumn *column)
{
wxDataViewCtrlBase::EnsureVisible(item,column);
GtkTreeIter iter;
iter.user_data = (gpointer) item.GetID();
GtkTreePath *path = m_internal->get_path( &iter );