Display the global menu bar if the last TLW is hidden in wxOSX

Hiding the last TLW should be enough to show the global menu bar, but this
only happened if it was closed and not just hidden.

Closes #16201.
This commit is contained in:
Joost Nieuwenhuijse
2016-02-21 19:55:46 +01:00
committed by Vadim Zeitlin
parent ace212a311
commit eb8f6e0173
4 changed files with 25 additions and 5 deletions

View File

@@ -152,6 +152,7 @@ public:
static void SetAutoWindowMenu( bool enable ) { s_macAutoWindowMenu = enable ; }
static bool GetAutoWindowMenu() { return s_macAutoWindowMenu ; }
void MacUninstallMenuBar() ;
void MacInstallMenuBar() ;
static wxMenuBar* MacGetInstalledMenuBar() { return s_macInstalledMenuBar ; }
static void MacSetCommonMenuBar(wxMenuBar* menubar) { s_macCommonMenuBar=menubar; }