X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4a23857ec9c4f4e3f3e1251f566f55df31e4177..7c60222510bc5e197b12f153c4bf05db66cb0f4a:/interface/wx/menu.h diff --git a/interface/wx/menu.h b/interface/wx/menu.h index 93987854ae..a6b5cbe0d9 100644 --- a/interface/wx/menu.h +++ b/interface/wx/menu.h @@ -392,6 +392,8 @@ public: The menubar to set. @remarks Only exists on Mac, other platforms do not have this method. + + @onlyfor{wxosx} */ static void MacSetCommonMenuBar(wxMenuBar* menubar); @@ -402,6 +404,8 @@ public: @return The global menubar. @remarks Only exists on Mac, other platforms do not have this method. + + @onlyfor{wxosx} */ static wxMenuBar* MacGetCommonMenuBar(); @@ -470,7 +474,7 @@ public: If the menu is part of a menubar, then wxMenuBar event processing is used. With a popup menu (see wxWindow::PopupMenu), there is a variety of ways to - handle a menu selection event (@c wxEVT_COMMAND_MENU_SELECTED): + handle a menu selection event (@c wxEVT_MENU): - Provide @c EVT_MENU handlers in the window which pops up the menu, or in an ancestor of that window (the simplest method); - Derive a new class from wxMenu and define event table entries using the @c EVT_MENU macro; @@ -816,7 +820,7 @@ public: wxMenuItemList is a pseudo-template list class containing wxMenuItem pointers, see wxList. */ - wxMenuItemList& GetMenuItems() const; + wxMenuItemList& GetMenuItems(); const wxMenuItemList& GetMenuItems() const; //@} @@ -898,7 +902,7 @@ public: bool IsEnabled(int id) const; /** - Inserts the given @a item at position 0, i.e. before all the other + Inserts the given @a item at position 0, i.e.\ before all the other existing items. @see Append(), Insert() @@ -906,7 +910,7 @@ public: wxMenuItem* Prepend(wxMenuItem* item); /** - Inserts the given @a item at position 0, i.e. before all the other + Inserts the given @a item at position 0, i.e.\ before all the other existing items. @see Append(), Insert()