X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6daa06370bdb080d3555b1e0f90292489a5e64f9..f0824a5a4a255989b5153945ade9e21232724980:/samples/treectrl/treetest.cpp diff --git a/samples/treectrl/treetest.cpp b/samples/treectrl/treetest.cpp index 05b9adb2a3..17d2ac3490 100644 --- a/samples/treectrl/treetest.cpp +++ b/samples/treectrl/treetest.cpp @@ -180,7 +180,7 @@ void MyFrame::OnDump(wxCommandEvent& WXUNUSED(event)) 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)) @@ -336,9 +336,8 @@ static inline const char *Bool2String(bool b) 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(), @@ -347,5 +346,4 @@ void MyTreeItemData::ShowInfo(wxTreeCtrl */*tree*/) Bool2String(tree->IsBold(GetId())), tree->GetChildrenCount(GetId()), tree->GetChildrenCount(GetId(), FALSE)); -*/ }