adding OS level Window Menu by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -153,17 +153,24 @@ public:
|
|||||||
// call this function to update it (m_menuBarFrame should be !NULL)
|
// call this function to update it (m_menuBarFrame should be !NULL)
|
||||||
void Refresh(bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL);
|
void Refresh(bool eraseBackground = TRUE, const wxRect *rect = (const wxRect *) NULL);
|
||||||
|
|
||||||
void MacInstallMenuBar() ;
|
static void SetAutoWindowMenu( bool enable ) { s_macAutoWindowMenu = enable ; }
|
||||||
static wxMenuBar* MacGetInstalledMenuBar() { return s_macInstalledMenuBar ; }
|
static bool GetAutoWindowMenu() { return s_macAutoWindowMenu ; }
|
||||||
static void MacSetCommonMenuBar(wxMenuBar* menubar) { s_macCommonMenuBar=menubar; }
|
|
||||||
static wxMenuBar* MacGetCommonMenuBar() { return s_macCommonMenuBar; }
|
|
||||||
|
|
||||||
|
void MacInstallMenuBar() ;
|
||||||
|
static wxMenuBar* MacGetInstalledMenuBar() { return s_macInstalledMenuBar ; }
|
||||||
|
static void MacSetCommonMenuBar(wxMenuBar* menubar) { s_macCommonMenuBar=menubar; }
|
||||||
|
static wxMenuBar* MacGetCommonMenuBar() { return s_macCommonMenuBar; }
|
||||||
|
|
||||||
|
|
||||||
|
static WXHMENU MacGetWindowMenuHMenu() { return s_macWindowMenuHandle ; }
|
||||||
protected:
|
protected:
|
||||||
// common part of all ctors
|
// common part of all ctors
|
||||||
void Init();
|
void Init();
|
||||||
wxWindow *m_invokingWindow;
|
wxWindow *m_invokingWindow;
|
||||||
|
|
||||||
wxArrayString m_titles;
|
wxArrayString m_titles;
|
||||||
|
static bool s_macAutoWindowMenu ;
|
||||||
|
static WXHMENU s_macWindowMenuHandle ;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
static wxMenuBar* s_macInstalledMenuBar ;
|
static wxMenuBar* s_macInstalledMenuBar ;
|
||||||
|
Reference in New Issue
Block a user