X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/dbac5ccc54e900ac574efb626e77789fac465361..a9ed8caa09bc542a2ad9f752c0a6ca63c7119747:/interface/wx/menu.h diff --git a/interface/wx/menu.h b/interface/wx/menu.h index 7b2e50d3cc..bdb33aa30e 100644 --- a/interface/wx/menu.h +++ b/interface/wx/menu.h @@ -107,6 +107,16 @@ public: */ void Enable(int id, bool enable); + /** + Returns true if the menu with the given index is enabled. + + @param pos + The menu position (0-based) + + @since 2.9.4 + */ + bool IsEnabledTop(size_t pos) const; + /** Enables or disables a whole menu. @@ -382,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); @@ -392,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(); @@ -422,7 +436,6 @@ public: and have a special meaning since entries using these IDs will be taken out of the normal menus under MacOS X and will be inserted into the system menu (following the appropriate MacOS X interface guideline). - On PalmOS @e wxID_EXIT is disabled according to Palm OS Companion guidelines. Menu items may be either @e normal items, @e check items or @e radio items. Normal items don't have any special properties while the check items have a