X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6d9713540dd22f7e81a7c11a68249f5ed35c87bd..9a8d8c5a515b44a03b412c3637c4072be9950387:/include/wx/gtk/menu.h diff --git a/include/wx/gtk/menu.h b/include/wx/gtk/menu.h index 123f23b86b..a154a64e21 100644 --- a/include/wx/gtk/menu.h +++ b/include/wx/gtk/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;