expanded. The attached patch fixes this by expanding all ancestors of the
item before expanding the item itself. Closes #12585: wxDataviewCtrl::Expand() needs to expand all ancestors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65873
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxDataViewCtrl::Expand( const wxDataViewItem & item )
{
void wxDataViewCtrl::Expand( const wxDataViewItem & item )
{
+ ExpandAncestors( item );
+
int row = m_clientArea->GetRowByItem( item );
if (row != -1)
m_clientArea->Expand(row);
int row = m_clientArea->GetRowByItem( item );
if (row != -1)
m_clientArea->Expand(row);