Fix wxGTK's menu and menubar so Insert does something other than
always append. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user