fixes for missing or broken interface items for Phoenix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2011-09-16 17:03:01 +00:00
parent e23e368bc4
commit e932127792
11 changed files with 177 additions and 4 deletions

View File

@@ -373,6 +373,28 @@ public:
@remarks Use only after the menubar has been associated with a frame.
*/
virtual void SetMenuLabel(size_t pos, const wxString& label);
/**
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.
*/
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.
*/
static wxMenuBar* MacGetCommonMenuBar();
};
@@ -799,7 +821,7 @@ public:
@see Append(), Prepend()
*/
wxMenuItem* Insert(size_t pos, wxMenuItem* item);
wxMenuItem* Insert(size_t pos, wxMenuItem* menuItem);
/**
Inserts the given @a item before the position @a pos.