]> git.saurik.com Git - wxWidgets.git/commitdiff
add detachmenu, insert menu, replace menu
authorUnknown (MT) <nobody@localhost>
Mon, 13 Sep 1999 07:17:09 +0000 (07:17 +0000)
committerUnknown (MT) <nobody@localhost>
Mon, 13 Sep 1999 07:17:09 +0000 (07:17 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/menu.h

index 4157007090586ad80b00579b6d98ecaa5cdb7114..9d2ca80bd8f63c33d8b8c0b511def5d4b1063b85 100644 (file)
@@ -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