- more subnodes to it. */\r
- wxTreeMultiItem AddRoot(const wxString &caption, const wxString &name = wxEmptyString);\r
-\r
- /** Adds a window to the tree control. Use this wxTreeMultiItem method to add a window class to the\r
- current wxTreeMultiItem. The wxTreeMultiItem must point to a Node class. If this is not the case\r
- an empty wxTreeMultiItem is returned. The mask is used to override the mask settings of the\r
- wxTreeMultiWindowInfo class. This can be handy to set or clear extra flags only needed for certain\r
- situations */\r
- wxTreeMultiItem AppendWindow(const wxTreeMultiItem &ParentItem, wxWindow *window = NULL, const wxString &name = wxEmptyString,\r
- wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);\r
-\r
- /** Adds a window to the tree control. Use this method to add a window class at the specified position\r
- of the parent's wxTreeMultiItem. In case the position is smaller than the current number of children all elements\r
- are shifted upwards, otherwise the new window is appended to the parent's wxTreeMultiItem.\r
- The parent wxTreeMultiItem must point to a Node class. If this is not the case an\r
- empty wxTreeMultiItem is returned.\r
- */\r
- wxTreeMultiItem InsertWindow(wxTreeMultiItem const& ParentItem, size_t Position, wxWindow *window = NULL, wxString const& Name = wxEmptyString,\r
- wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);\r
-\r
- /** Adds a window to the tree control. Use this method to add a window class as the first element\r
- of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an\r
- empty wxTreeMultiItem is returned.\r
- */\r
- wxTreeMultiItem PrependWindow(wxTreeMultiItem const& ParentItem, wxWindow *window = NULL, const wxString &name = wxEmptyString,\r
- wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);\r
-\r
- /** Adds a node to the tree control. Use this wxTreeMultiItem method to add a recursive subnode class as the last element\r
- of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case\r
- an empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes */\r
- wxTreeMultiItem AppendNode(wxTreeMultiItem const& ParentItem, const wxString &caption = wxEmptyString,\r
- const wxString &name = wxEmptyString);\r
-\r
- /** Adds a node to the tree control. Use this method to add a recursive subnode class at the specified position\r
- of the parent's wxTreeMultiItem. In case the position is smaller than the current number of nodes all elements\r
- are shifted upwards, otherwise the new node is appended to the parent's wxTreeMultiItem.\r
- The parent wxTreeMultiItem must point to a Node class. If this is not the case an\r
- empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.\r
- */\r
- wxTreeMultiItem InsertNode(wxTreeMultiItem const& ParentItem, size_t Position, wxString const& caption, wxString const& name);\r
-\r
- /** Adds a node to the tree control. Use this method to add a recursive subnode class as the first element\r
- of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an\r
- empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.\r
- */\r
- wxTreeMultiItem PrependNode(wxTreeMultiItem const& ParentItem, wxString const& caption = wxEmptyString,\r
- wxString const& name = wxEmptyString);\r
-\r
- /** Delete item from the tree control. Whenever it is present, delete it. If not, return false. After\r
- deletion the wxTreeMultiItem is 0, thus IsOk will return false */\r
- bool Delete(wxTreeMultiItem &item);\r
-\r
- /** Deletes all the items from the wxTreeMultiCtrl. */\r
- void DeleteAllItems(void)\r
- {\r
- this->_root.Clear();\r
- this->m_SelectedItems.Clear();\r
- Refresh();\r
- };\r
-\r
+ more subnodes to it. */
+ wxTreeMultiItem AddRoot(const wxString &caption, const wxString &name = wxEmptyString);
+
+ /** Adds a window to the tree control. Use this wxTreeMultiItem method to add a window class to the
+ current wxTreeMultiItem. The wxTreeMultiItem must point to a Node class. If this is not the case
+ an empty wxTreeMultiItem is returned. The mask is used to override the mask settings of the
+ wxTreeMultiWindowInfo class. This can be handy to set or clear extra flags only needed for certain
+ situations */
+ wxTreeMultiItem AppendWindow(const wxTreeMultiItem &ParentItem, wxWindow *window = NULL, const wxString &name = wxEmptyString,
+ wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);
+
+ /** Adds a window to the tree control. Use this method to add a window class at the specified position
+ of the parent's wxTreeMultiItem. In case the position is smaller than the current number of children all elements
+ are shifted upwards, otherwise the new window is appended to the parent's wxTreeMultiItem.
+ The parent wxTreeMultiItem must point to a Node class. If this is not the case an
+ empty wxTreeMultiItem is returned.
+ */
+ wxTreeMultiItem InsertWindow(wxTreeMultiItem const& ParentItem, size_t Position, wxWindow *window = NULL, wxString const& Name = wxEmptyString,
+ wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);
+
+ /** Adds a window to the tree control. Use this method to add a window class as the first element
+ of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an
+ empty wxTreeMultiItem is returned.
+ */
+ wxTreeMultiItem PrependWindow(wxTreeMultiItem const& ParentItem, wxWindow *window = NULL, const wxString &name = wxEmptyString,
+ wxTreeMultiWindowInfo const& info = wxTreeMultiWindowInfoDefault, int flags = 0);
+
+ /** Adds a node to the tree control. Use this wxTreeMultiItem method to add a recursive subnode class as the last element
+ of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case
+ an empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes */
+ wxTreeMultiItem AppendNode(wxTreeMultiItem const& ParentItem, const wxString &caption = wxEmptyString,
+ const wxString &name = wxEmptyString);
+
+ /** Adds a node to the tree control. Use this method to add a recursive subnode class at the specified position
+ of the parent's wxTreeMultiItem. In case the position is smaller than the current number of nodes all elements
+ are shifted upwards, otherwise the new node is appended to the parent's wxTreeMultiItem.
+ The parent wxTreeMultiItem must point to a Node class. If this is not the case an
+ empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.
+ */
+ wxTreeMultiItem InsertNode(wxTreeMultiItem const& ParentItem, size_t Position, wxString const& caption, wxString const& name);
+
+ /** Adds a node to the tree control. Use this method to add a recursive subnode class as the first element
+ of the parent's wxTreeMultiItem. The parent wxTreeMultiItem must point to a Node class. If this is not the case an
+ empty wxTreeMultiItem is returned. A node can contain multiple nodes or window classes.
+ */
+ wxTreeMultiItem PrependNode(wxTreeMultiItem const& ParentItem, wxString const& caption = wxEmptyString,
+ wxString const& name = wxEmptyString);
+
+ /** Delete item from the tree control. Whenever it is present, delete it. If not, return false. After
+ deletion the wxTreeMultiItem is 0, thus IsOk will return false */
+ bool Delete(wxTreeMultiItem &item);
+
+ /** Deletes all the items from the wxTreeMultiCtrl. */
+ void DeleteAllItems(void)
+ {
+ this->_root.Clear();
+ this->m_SelectedItems.Clear();
+ Refresh();
+ };
+