#include <newmenu.h>
Public Member Functions | |
wxGISNewMenu (const wxString &sName=NEWMENUNAME, const wxString &sCaption=_("Create"), wxGISEnumCommandBars type=enumGISCBSubMenu, const wxString &title=wxEmptyString, long style=0) | |
virtual void | AddCommand (wxGISCommand *pCmd) |
virtual void | MoveCommandLeft (size_t nIndex) |
virtual void | MoveCommandRight (size_t nIndex) |
virtual wxIcon | GetBitmap (void) |
virtual wxString | GetCaption (void) |
virtual wxString | GetCategory (void) |
virtual bool | GetChecked (void) |
virtual bool | GetEnabled (void) |
virtual wxString | GetMessage (void) |
virtual wxGISEnumCommandKind | GetKind (void) |
virtual void | OnClick (void) |
virtual bool | OnCreate (wxGISApplicationBase *pApp) |
virtual wxString | GetTooltip (void) |
virtual unsigned char | GetCount (void) |
virtual void | Update (wxGxSelection *Selection) |
Public Member Functions inherited from wxGISMenu | |
wxGISMenu (const wxString &sName=NONAME, const wxString &sCaption=_("No Caption"), wxGISEnumCommandBars type=enumGISCBNone, const wxString &title=wxEmptyString, long style=0) | |
virtual void | RemoveCommand (size_t nIndex) |
virtual void | AddMenu (wxMenu *pMenu, wxString sName) |
Public Member Functions inherited from wxGISCommandBar | |
wxGISCommandBar (const wxString &sName=NONAME, const wxString &sCaption=_("No Caption"), wxGISEnumCommandBars type=enumGISCBNone) | |
virtual void | SetName (const wxString &sName) |
virtual wxString | GetName (void) const |
virtual void | SetCaption (const wxString &sCaption) |
virtual wxString | GetCaption (void) const |
virtual void | SetType (wxGISEnumCommandBars type) |
virtual wxGISEnumCommandBars | GetType (void) |
virtual size_t | GetCommandCount (void) |
virtual wxGISCommand * | GetCommand (size_t nIndex) const |
virtual void | Serialize (wxGISApplicationBase *pApp, wxXmlNode *pNode, bool bStore=false) |
Public Member Functions inherited from wxGISPointer | |
virtual wxInt32 | Reference (void) |
virtual wxInt32 | Dereference (void) |
virtual wxInt32 | Release (void) |
Public Member Functions inherited from wxGISCommand | |
wxGISCommand (void) | |
A constructor. | |
virtual | ~wxGISCommand (void) |
A destructor. | |
virtual void | SetId (long nId) |
virtual long | GetId (void) const |
virtual void | SetSubType (unsigned char SubType) |
virtual unsigned char | GetSubType (void) const |
Protected Attributes | |
wxGISApplicationBase * | m_pApp |
wxGxCatalogUI * | m_pCatalog |
Protected Attributes inherited from wxGISMenu | |
wxVector< SUBMENUDATA > | m_SubmenuArray |
Protected Attributes inherited from wxGISCommandBar | |
wxCommandPtrArray | m_CommandArray |
wxString | m_sName |
wxString | m_sCaption |
wxGISEnumCommandBars | m_type |
Protected Attributes inherited from wxGISPointer | |
wxInt32 | m_RefCount |
Protected Attributes inherited from wxGISCommand | |
unsigned char | m_subtype |
long | m_CommandId |
Additional Inherited Members | |
Protected Types inherited from wxGISMenu | |
typedef struct wxGISMenu::submenudata | SUBMENUDATA |
The create menu class. Consist of create new objects items