X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/bd362275b853cc0308bbde6a60bb2525d659f709..2392b8e8712b34c635f7079970a6ca2852493c69:/interface/wx/menu.h diff --git a/interface/wx/menu.h b/interface/wx/menu.h index d07bf47c1c..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();