]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/treectrl/treetest.cpp
corrected (?) wxStringList::Delete()
[wxWidgets.git] / samples / treectrl / treetest.cpp
index 5bcbd4b8d32ea19d637b26e1d31e5db46299d2e3..17d2ac3490bb6aeccb22f70fedb8a539dc7aa8ec 100644 (file)
@@ -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));
-*/
 }