+
+
+/** Shim around wxTreeCtrl so we can use strcoll() to compare things */
+class TreeCtrl : public wxTreeCtrl
+{
+public:
+ wxDECLARE_DYNAMIC_CLASS (TreeCtrl);
+
+ TreeCtrl () {}
+
+ TreeCtrl (wxWindow* parent)
+ : wxTreeCtrl (parent, wxID_ANY, wxDefaultPosition, wxDefaultSize, wxTR_HIDE_ROOT | wxTR_MULTIPLE | wxTR_HAS_BUTTONS | wxTR_LINES_AT_ROOT)
+ {}
+
+ virtual ~TreeCtrl () {}
+
+private:
+ int OnCompareItems (wxTreeItemId const& a, wxTreeItemId const& b);
+};
+