Add property to disable native menu on Mac.
This commit is contained in:
parent
86e61cfd78
commit
36fe51c7f0
1 changed files with 5 additions and 3 deletions
|
@ -49,10 +49,12 @@ NewGUI::NewGUI () :
|
||||||
_active_dialog(0)
|
_active_dialog(0)
|
||||||
{
|
{
|
||||||
#if defined(SG_MAC)
|
#if defined(SG_MAC)
|
||||||
_menubar.reset(new FGCocoaMenuBar);
|
if (fgGetBool("/sim/menubar/native", true)) {
|
||||||
#else
|
_menubar.reset(new FGCocoaMenuBar);
|
||||||
_menubar.reset(new FGPUIMenuBar);
|
return;
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
_menubar.reset(new FGPUIMenuBar);
|
||||||
}
|
}
|
||||||
|
|
||||||
NewGUI::~NewGUI ()
|
NewGUI::~NewGUI ()
|
||||||
|
|
Loading…
Reference in a new issue