X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c626a8b797d2819e1e14110d77c04a530fd3b6b4..d88de032d3009be88d0f0ba4a882784aa9493331:/include/wx/gtk/menuitem.h diff --git a/include/wx/gtk/menuitem.h b/include/wx/gtk/menuitem.h index e84a48500c..500e235d68 100644 --- a/include/wx/gtk/menuitem.h +++ b/include/wx/gtk/menuitem.h @@ -40,6 +40,7 @@ DECLARE_DYNAMIC_CLASS(wxMenuItem) public: wxMenuItem(); + ~wxMenuItem(); // accessors // id @@ -73,6 +74,8 @@ public: // implementation void SetMenuItem(GtkWidget *menuItem) { m_menuItem = menuItem; } GtkWidget *GetMenuItem() const { return m_menuItem; } + + wxString GetHotKey() const { return m_hotKey; } void SetCheckedFlag(bool checked) { m_isChecked = checked; } bool GetCheckedFlag() const { return m_isChecked; } @@ -80,6 +83,7 @@ public: private: int m_id; wxString m_text; + wxString m_hotKey; bool m_isCheckMenu; bool m_isChecked; bool m_isEnabled;