X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c33c405087d33bb001be979c8bca5146f5133d48..2f6407b9473f0a3cbd88d6419926b25ab5d6850a:/include/wx/gtk1/menu.h diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index 6e5232dd50..9258a25e85 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -93,7 +93,7 @@ public: bool IsSubMenu() const { return m_subMenu != NULL; } // state - void Enable(bool enable = TRUE) { m_isEnabled = enable; } + void Enable( bool enable = TRUE ); bool IsEnabled() const { return m_isEnabled; } void Check( bool check = TRUE ); bool IsChecked() const; @@ -124,9 +124,12 @@ DECLARE_DYNAMIC_CLASS(wxMenu) public: // construction - wxMenu( const wxString& title = wxEmptyString, const wxFunction func = NULL ); + wxMenu( const wxString& title = wxEmptyString, const wxFunction func = (wxFunction) NULL ); // operations + // title + void SetTitle(const wxString& label); + const wxString GetTitle() const; // menu creation void AppendSeparator(); void Append(int id, const wxString &item,