- void Append(wxMenu *menu, const wxString& title);
- void Check(int id, bool flag);
-// bool Checked(int id);
+ bool Append(wxMenu *menu, const wxString& title);
+ bool Insert(size_t pos, wxMenu *menu, const wxString& title);
+ size_t GetMenuCount();
+ wxMenu *GetMenu(size_t pos);
+ wxMenu *Replace(size_t pos, wxMenu *menu, const wxString& title);
+ wxMenu *Remove(size_t pos);
+ void EnableTop(size_t pos, bool enable);
+ void SetLabelTop(size_t pos, const wxString& label);
+ wxString GetLabelTop(size_t pos);
+ int FindMenuItem(const wxString& menuString, const wxString& itemString);
+ %name(FindItemById)wxMenuItem* FindItem(int id/*, wxMenu **menu = NULL*/);