- EventCounter count(m_tree, wxEVT_COMMAND_TREE_ITEM_COLLAPSED);
- EventCounter count1(m_tree, wxEVT_COMMAND_TREE_ITEM_COLLAPSING);
- EventCounter count2(m_tree, wxEVT_COMMAND_TREE_ITEM_EXPANDED);
- EventCounter count3(m_tree, wxEVT_COMMAND_TREE_ITEM_EXPANDING);
+ EventCounter collapsed(m_tree, wxEVT_TREE_ITEM_COLLAPSED);
+ EventCounter collapsing(m_tree, wxEVT_TREE_ITEM_COLLAPSING);
+ EventCounter expanded(m_tree, wxEVT_TREE_ITEM_EXPANDED);
+ EventCounter expanding(m_tree, wxEVT_TREE_ITEM_EXPANDING);