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)
|
||||
{
|
||||
#if defined(SG_MAC)
|
||||
_menubar.reset(new FGCocoaMenuBar);
|
||||
#else
|
||||
_menubar.reset(new FGPUIMenuBar);
|
||||
if (fgGetBool("/sim/menubar/native", true)) {
|
||||
_menubar.reset(new FGCocoaMenuBar);
|
||||
return;
|
||||
}
|
||||
#endif
|
||||
_menubar.reset(new FGPUIMenuBar);
|
||||
}
|
||||
|
||||
NewGUI::~NewGUI ()
|
||||
|
|
Loading…
Reference in a new issue