#include <menuutils.h>
Public Member Functions | |
wxExTreeItemData (int id=wxID_INVALID) | |
virtual | ~wxExTreeItemData () |
void | SetMenuItemId (int n) |
int | GetMenuItemId () |
Protected Attributes | |
int | m_nMenuId |
This is a simple class which just contains an additional field, which can be used to store the ID of the menu item associated with this tree item. The ID should be unique among all the commands contained in the same command collection so it should be enough to identify a wxCmd...
wxExTreeItemData::wxExTreeItemData | ( | int | id = wxID_INVALID |
) | [inline] |
virtual wxExTreeItemData::~wxExTreeItemData | ( | ) | [inline, virtual] |
int wxExTreeItemData::GetMenuItemId | ( | ) | [inline] |
void wxExTreeItemData::SetMenuItemId | ( | int | n | ) | [inline] |
int wxExTreeItemData::m_nMenuId [protected] |