void MyFrame::DoSetBold(bool bold)
{
-// m_treeCtrl->SetItemBold(m_treeCtrl->GetSelection(), bold);
+ m_treeCtrl->SetItemBold(m_treeCtrl->GetSelection(), bold);
}
void MyFrame::OnDelete(wxCommandEvent& WXUNUSED(event))
return b ? "" : "not ";
}
-void MyTreeItemData::ShowInfo(wxTreeCtrl */*tree*/)
+void MyTreeItemData::ShowInfo(wxTreeCtrl *tree)
{
-/*
wxLogMessage("Item '%s': %sselected, %sexpanded, %sbold,\n"
"%u children (%u immediately under this item).",
m_desc.c_str(),
Bool2String(tree->IsBold(GetId())),
tree->GetChildrenCount(GetId()),
tree->GetChildrenCount(GetId(), FALSE));
-*/
}