items, respectively. If @a image -1 and @a selImage is -1, the same
image is used for both selected and unselected items.
*/
items, respectively. If @a image -1 and @a selImage is -1, the same
image is used for both selected and unselected items.
*/
- wxTreeItemId AddRoot(const wxString& text, int image = -1,
- int selImage = -1,
- wxTreeItemData* data = NULL);
+ virtual wxTreeItemId AddRoot(const wxString& text, int image = -1,
+ int selImage = -1,
+ wxTreeItemData* data = NULL);
/**
Deletes all items in the control. Note that this may not generate
EVT_TREE_DELETE_ITEM() events under some Windows versions although
normally such event is generated for each removed item.
*/
/**
Deletes all items in the control. Note that this may not generate
EVT_TREE_DELETE_ITEM() events under some Windows versions although
normally such event is generated for each removed item.
*/
If you have called SetItemHasChildren(), you may need to call it again
since DeleteChildren() does not automatically clear the setting.
*/
If you have called SetItemHasChildren(), you may need to call it again
since DeleteChildren() does not automatically clear the setting.
*/
/**
Returns the selection, or an invalid item if there is no selection. This
function only works with the controls without @c wxTR_MULTIPLE style,
use GetSelections() for the controls which do have this style.
*/
/**
Returns the selection, or an invalid item if there is no selection. This
function only works with the controls without @c wxTR_MULTIPLE style,
use GetSelections() for the controls which do have this style.
*/
/**
Selects the given item. In multiple selection controls, can be also used
to deselect a currently selected item if the value of @a select is
@false.
*/
/**
Selects the given item. In multiple selection controls, can be also used
to deselect a currently selected item if the value of @a select is
@false.
*/
/**
This function either behaves the same as Unselect() if the control
doesn't have @c wxTR_MULTIPLE style, or removes the selection from all
items if it does have this style.
*/
/**
This function either behaves the same as Unselect() if the control
doesn't have @c wxTR_MULTIPLE style, or removes the selection from all
items if it does have this style.
*/