Add ability to have a wxMenuBar as a common menu
- static wxMenuBar::MacSetCommonMenuBar() - static wxMenuBar::MacGetCommonMenuBar() - static wxMenuBar::s_macCommonMenuBar; git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21243 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -164,6 +164,8 @@ public:
|
||||
|
||||
void MacInstallMenuBar() ;
|
||||
static wxMenuBar* MacGetInstalledMenuBar() { return s_macInstalledMenuBar ; }
|
||||
static void MacSetCommonMenuBar(wxMenuBar* menubar) { s_macCommonMenuBar=menubar; }
|
||||
static wxMenuBar* MacGetCommonMenuBar() { return s_macCommonMenuBar; }
|
||||
|
||||
protected:
|
||||
// common part of all ctors
|
||||
@@ -178,6 +180,7 @@ protected:
|
||||
|
||||
private:
|
||||
static wxMenuBar* s_macInstalledMenuBar ;
|
||||
static wxMenuBar* s_macCommonMenuBar ;
|
||||
|
||||
DECLARE_DYNAMIC_CLASS(wxMenuBar)
|
||||
};
|
||||
|
Reference in New Issue
Block a user