+ void OnResetStyle(wxCommandEvent& WXUNUSED(event))
+ { CreateTreeWithDefStyle(); }
+
+ void OnSetFgColour(wxCommandEvent& event);
+ void OnSetBgColour(wxCommandEvent& event);
+
+ void OnHighlight(wxCommandEvent& event);
+ void OnDump(wxCommandEvent& event);
+#ifndef NO_MULTIPLE_SELECTION
+ void OnDumpSelected(wxCommandEvent& event);
+ void OnSelect(wxCommandEvent& event);
+ void OnUnselect(wxCommandEvent& event);
+ void OnToggleSel(wxCommandEvent& event);
+ void OnSelectChildren(wxCommandEvent& event);
+#endif // NO_MULTIPLE_SELECTION
+ void OnSelectRoot(wxCommandEvent& event);
+ void OnSetFocusedRoot(wxCommandEvent& event);
+ void OnClearFocused(wxCommandEvent& event);
+ void OnDelete(wxCommandEvent& event);
+ void OnDeleteChildren(wxCommandEvent& event);
+ void OnDeleteAll(wxCommandEvent& event);
+
+ void OnRecreate(wxCommandEvent& event);
+ void OnToggleButtons(wxCommandEvent& event);
+ void OnToggleImages(wxCommandEvent& event);
+ void OnToggleStates(wxCommandEvent& event);
+ void OnToggleAlternateImages(wxCommandEvent& event);
+ void OnToggleAlternateStates(wxCommandEvent& event);
+ void OnSetImageSize(wxCommandEvent& event);
+ void OnCollapseAndReset(wxCommandEvent& event);
+
+ void OnSetBold(wxCommandEvent& WXUNUSED(event)) { DoSetBold(true); }
+ void OnClearBold(wxCommandEvent& WXUNUSED(event)) { DoSetBold(false); }
+
+ void OnEnsureVisible(wxCommandEvent& event);
+ void OnSetFocus(wxCommandEvent& event);
+
+ void OnCount(wxCommandEvent& event);
+ void OnCountRec(wxCommandEvent& event);
+
+ void OnRename(wxCommandEvent& event);
+ void OnSort(wxCommandEvent& WXUNUSED(event)) { DoSort(); }
+ void OnSortRev(wxCommandEvent& WXUNUSED(event)) { DoSort(true); }
+
+ void OnAddItem(wxCommandEvent& event);
+ void OnInsertItem(wxCommandEvent& event);
+
+ void OnIncIndent(wxCommandEvent& event);
+ void OnDecIndent(wxCommandEvent& event);
+
+ void OnIncSpacing(wxCommandEvent& event);
+ void OnDecSpacing(wxCommandEvent& event);
+
+ void OnToggleIcon(wxCommandEvent& event);
+ void OnToggleState(wxCommandEvent& event);
+
+ void OnShowFirstVisible(wxCommandEvent& WXUNUSED(event))
+ { DoShowFirstOrLast(&wxTreeCtrl::GetFirstVisibleItem, "first visible"); }
+#ifdef wxHAS_LAST_VISIBLE // we don't have it currently but may add later
+ void OnShowLastVisible(wxCommandEvent& WXUNUSED(event))
+ { DoShowFirstOrLast(&wxTreeCtrl::GetLastVisibleItem, "last visible"); }
+#endif // wxHAS_LAST_VISIBLE
+
+ void OnShowNextVisible(wxCommandEvent& WXUNUSED(event))
+ { DoShowRelativeItem(&wxTreeCtrl::GetNextVisible, "next visible"); }
+ void OnShowPrevVisible(wxCommandEvent& WXUNUSED(event))
+ { DoShowRelativeItem(&wxTreeCtrl::GetPrevVisible, "previous visible"); }
+
+ void OnShowParent(wxCommandEvent& WXUNUSED(event))
+ { DoShowRelativeItem(&wxTreeCtrl::GetItemParent, "parent"); }
+ void OnShowPrevSibling(wxCommandEvent& WXUNUSED(event))
+ { DoShowRelativeItem(&wxTreeCtrl::GetPrevSibling, "previous sibling"); }
+ void OnShowNextSibling(wxCommandEvent& WXUNUSED(event))
+ { DoShowRelativeItem(&wxTreeCtrl::GetNextSibling, "next sibling"); }
+
+ void OnScrollTo(wxCommandEvent& event);
+ void OnSelectLast(wxCommandEvent& event);
+
+ void OnIdle(wxIdleEvent& event);
+ void OnSize(wxSizeEvent& event);