+
+ /**
+ Enables you to set the global menubar on Mac, that is, the menubar displayed
+ when the app is running without any frames open.
+
+ @param menubar
+ The menubar to set.
+
+ @remarks Only exists on Mac, other platforms do not have this method.
+
+ @onlyfor{wxosx}
+ */
+ static void MacSetCommonMenuBar(wxMenuBar* menubar);
+
+ /**
+ Enables you to get the global menubar on Mac, that is, the menubar displayed
+ when the app is running without any frames open.
+
+ @return The global menubar.
+
+ @remarks Only exists on Mac, other platforms do not have this method.
+
+ @onlyfor{wxosx}
+ */
+ static wxMenuBar* MacGetCommonMenuBar();
+
+ wxFrame *GetFrame() const;
+ bool IsAttached() const;
+ virtual void Attach(wxFrame *frame);
+ virtual void Detach();
+