- void Enable(int id, bool enable);
- void Check(int id, bool check);
- bool IsChecked(int id) const;
- bool IsEnabled(int id) const;
+ void Enable(int itemid, bool enable);
+ void Check(int itemid, bool check);
+ bool IsChecked(int itemid) const;
+ bool IsEnabled(int itemid) const;
+ virtual bool IsEnabled() const { return wxWindow::IsEnabled(); }
+
+ void SetLabel(int itemid, const wxString &label);
+ wxString GetLabel(int itemid) const;
+
+ void SetHelpString(int itemid, const wxString& helpString);
+ wxString GetHelpString(int itemid) const;
+
+ // implementation helpers
+
+ // get the frame we are attached to (may return NULL)
+ wxFrame *GetFrame() const { return m_menuBarFrame; }