X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d9713540dd22f7e81a7c11a68249f5ed35c87bd..fe6cf1284497c450735cdeb76cc99de9b18beb5f:/include/wx/gtk1/menu.h diff --git a/include/wx/gtk1/menu.h b/include/wx/gtk1/menu.h index 123f23b86b..a154a64e21 100644 --- a/include/wx/gtk1/menu.h +++ b/include/wx/gtk1/menu.h @@ -46,7 +46,7 @@ public: void UnsetInvokingWindow( wxWindow *win ); // common part of Append and Insert - bool GtkAppend(wxMenu *menu, const wxString& title); + bool GtkAppend(wxMenu *menu, const wxString& title, int pos=-1); #ifndef __WXGTK20__ GtkAccelGroup *m_accel; @@ -93,8 +93,8 @@ private: // common code for all constructors: void Init(); - // common part of Append and Insert - bool GtkAppend(wxMenuItem *item); + // common part of Append (if pos == -1) and Insert + bool GtkAppend(wxMenuItem *item, int pos=-1); GtkWidget *m_prevRadio;