return TRUE;
};
-void wxTreeCtrl::SelectItem(wxGenericTreeItem *item)
+void wxTreeCtrl::SelectItem(wxGenericTreeItem *item, bool bDoEvents )
{
if (m_current != item)
{
m_current->SetHilight( TRUE );
RefreshLine( m_current );
- m_current->SendSelected( this );
+ if (bDoEvents) m_current->SendSelected( this );
}
}