X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1deef99727c57b21976be81a14312f001fededb4..cbeda384e51acb82e13994cb67ac1714669cae10:/include/wx/gtk/menuitem.h?ds=sidebyside diff --git a/include/wx/gtk/menuitem.h b/include/wx/gtk/menuitem.h index c538d03819..78d967612a 100644 --- a/include/wx/gtk/menuitem.h +++ b/include/wx/gtk/menuitem.h @@ -19,12 +19,12 @@ class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase { public: - wxMenuItem(wxMenu *parentMenu = (wxMenu *)NULL, + wxMenuItem(wxMenu *parentMenu = NULL, int id = wxID_SEPARATOR, const wxString& text = wxEmptyString, const wxString& help = wxEmptyString, wxItemKind kind = wxITEM_NORMAL, - wxMenu *subMenu = (wxMenu *)NULL); + wxMenu *subMenu = NULL); virtual ~wxMenuItem(); // implement base class virtuals @@ -43,6 +43,7 @@ public: #if WXWIN_COMPATIBILITY_2_8 // compatibility only, don't use in new code wxDEPRECATED( + inline wxMenuItem(wxMenu *parentMenu, int id, const wxString& text,