if ( GetEventHandler()->ProcessEvent( event ) && !event.IsAllowed() )
return;
+ wxTreeItemId parent = GetParent( itemId );
+ while (parent.IsOk())
+ {
+ if (!IsExpanded(parent))
+ Expand( parent );
+
+ parent = GetParent( parent );
+ }
+
+ EnsureVisible( itemId );
+
// ctrl press
if (unselect_others)
{