Add wxTreeListCtrl::EnsureVisible().
Just forward this to the wxDataViewCtrl method with the same name. Closes #16937.
This commit is contained in:
@@ -1400,6 +1400,14 @@ void wxTreeListCtrl::UnselectAll()
|
||||
m_view->UnselectAll();
|
||||
}
|
||||
|
||||
void wxTreeListCtrl::EnsureVisible(wxTreeListItem item)
|
||||
{
|
||||
wxCHECK_RET( m_view, "Must create first" );
|
||||
|
||||
m_view->EnsureVisible(m_model->ToDVI(item));
|
||||
}
|
||||
|
||||
|
||||
// ----------------------------------------------------------------------------
|
||||
// Checkbox handling
|
||||
// ----------------------------------------------------------------------------
|
||||
|
Reference in New Issue
Block a user