X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3f3cec484dc9376e6a41faa0ac668c5439cb4bd9..d1b15f03b8e614c83541ca3487f847f61122b514:/include/wx/msw/menu.h diff --git a/include/wx/msw/menu.h b/include/wx/msw/menu.h index 0548776b67..9d2ca80bd8 100644 --- a/include/wx/msw/menu.h +++ b/include/wx/msw/menu.h @@ -212,6 +212,10 @@ public: // menubar construction WXHMENU Create(); void Append(wxMenu *menu, const wxString& title); + void Insert(int pos, wxMenu * menu, const wxString& title); + void ReplaceMenu(int pos, wxMenu * new_menu, const wxString& title); + int FindMenu(const wxString& title); + void Detach(); virtual void Delete(wxMenu *menu, int index = 0); /* Menu not destroyed */ // state control @@ -281,14 +285,14 @@ public: // get the menu handle WXHMENU GetHMenu() const { return m_hMenu; } -protected: - // common part of all ctors - void Init(); - // if the menubar is modified, the display is not updated automatically, // call this function to update it (m_menuBarFrame should be !NULL) void Refresh(); +protected: + // common part of all ctors + void Init(); + wxEvtHandler *m_eventHandler; int m_menuCount; wxMenu **m_menus;