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

@@ -51,6 +51,7 @@ public:
virtual wxPoint GetClientAreaOrigin() const wxOVERRIDE;
// override some more virtuals
virtual bool Show(bool show = true) wxOVERRIDE;
virtual bool Enable(bool enable = true) wxOVERRIDE;
// event handlers