wxList m_menus;
GtkWidget *m_menubar;
long m_style;
+ wxWindow *m_invokingWindow;
};
//-----------------------------------------------------------------------------
~wxMenu();
- // operations
- // title
+ // title
void SetTitle(const wxString& label);
const wxString GetTitle() const;
- // menu creation
+
+ // menu creation
void AppendSeparator();
void Append(int id, const wxString &item,
const wxString &helpStr = "", bool checkable = FALSE);
void Append(wxMenuItem *pItem);
void Break() { }
+ // delete item. don't delete the wxMenu if it's a submenu
+ void Delete( int id );
+
// find item by name/id
int FindItem( const wxString itemString ) const;
wxMenuItem *FindItem( int id ) const;