summaryrefslogtreecommitdiff
path: root/lib/wx/doc/src/wxMenuBar.xml
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wx/doc/src/wxMenuBar.xml')
-rw-r--r--lib/wx/doc/src/wxMenuBar.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/lib/wx/doc/src/wxMenuBar.xml b/lib/wx/doc/src/wxMenuBar.xml
index 2b81729978..0f4431dc32 100644
--- a/lib/wx/doc/src/wxMenuBar.xml
+++ b/lib/wx/doc/src/wxMenuBar.xml
@@ -7,7 +7,7 @@
<erlref>
<header>
<copyright>
- <year>2020</year><year>2021</year>
+ <year>2020</year><year>2022</year>
<holder>wxWidgets team.</holder></copyright>
<legalnotice>Licensed under the wxWindows Free Documentation Licence, Version 3
</legalnotice>
@@ -208,6 +208,23 @@
</func>
<func>
+ <name name="macGetCommonMenuBar" arity="0" clause_i="1" since=""/>
+ <fsummary>Enables you to get the global menubar on Mac, that is, the menubar displayed when the app is running without any frames open. </fsummary>
+ <desc><p>Enables you to get the global menubar on Mac, that is, the menubar displayed when the app is running without any frames open.
+ </p><p>Return: The global menubar.
+ </p><p>Remark: Only exists on Mac, other platforms do not have this method.
+ </p><p>Only for:wxosx</p></desc>
+ </func>
+
+ <func>
+ <name name="macSetCommonMenuBar" arity="1" clause_i="1" since=""/>
+ <fsummary>Enables you to set the global menubar on Mac, that is, the menubar displayed when the app is running without any frames open. </fsummary>
+ <desc><p>Enables you to set the global menubar on Mac, that is, the menubar displayed when the app is running without any frames open.
+ </p><p>Remark: Only exists on Mac, other platforms do not have this method.
+ </p><p>Only for:wxosx</p></desc>
+ </func>
+
+ <func>
<name name="isEnabled" arity="2" clause_i="1" since=""/>
<fsummary>Determines whether an item is enabled. </fsummary>
<desc><p>Determines whether an item is enabled.