git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@426
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void SetImageList(wxImageList *imageList, int which = wxIMAGE_LIST_NORMAL);
private:
- // set the selection to the specified item generating appropriate event(s) if
- // not disabled
- void SelectItem(wxGenericTreeItem *item, bool bDoEvents = TRUE);
+ // set the selection to the specified item generating appropriate event(s)
+ void SelectItem(wxGenericTreeItem *item);
wxGenericTreeItem *m_anchor;
wxGenericTreeItem *m_current;
return TRUE;
};
-void wxTreeCtrl::SelectItem(wxGenericTreeItem *item, bool bDoEvents )
+void wxTreeCtrl::SelectItem(wxGenericTreeItem *item)
{
if (m_current != item)
{
m_current->SetHilight( TRUE );
RefreshLine( m_current );
- if (bDoEvents) m_current->SendSelected( this );
+ m_current->SendSelected( this );
}
}