Contents Up Previous Next

wxCommandGroup

Holds a group of wxCommandInfo objects.

Derived from

wxCommandInfo

Data structures

Members

wxCommandGroup::wxCommandGroup
wxCommandGroup::~wxCommandGroup
wxCommandGroup::AddSubcommand
wxCommandGroup::Clone
wxCommandGroup::GetSubcommands


wxCommandGroup::wxCommandGroup

wxCommandGroup(const wxString& title)

wxCommandGroup(const wxString& title, wxCommandInfo* pCommands)

takes an C-array of commands, the command containing empty title ("") marks the end of the list. Commands of the list are cloned into this group

wxCommandGroup()


wxCommandGroup::~wxCommandGroup

~wxCommandGroup()


wxCommandGroup::AddSubcommand

void AddSubcommand(wxCommandInfo* pInfo)


wxCommandGroup::Clone

wxCommandInfo* Clone()

3 overriden methods of wxCommandInfo


wxCommandGroup::GetSubcommands

wxCommandInfoListT* GetSubcommands()