- void SetName(const wxString& strName) { m_strName = strName; }
- const wxString& GetName() const { return m_strName; }
- bool IsCheckable() const { return m_bCheckable; }
+ void SetName(const wxString& strName) { m_strName = strName; }
+ const wxString& GetName() const { return m_strName; }
+ void SetCheckable(bool checkable) { m_bCheckable = checkable; }
+ bool IsCheckable() const { return m_bCheckable; }
+
+ // this is for menu items only: accel string is drawn right aligned after the
+ // menu item if not empty
+ void SetAccelString(const wxString& strAccel) { m_strAccel = strAccel; }