1
0
Fork 0

Add property to disable native menu on Mac.

This commit is contained in:
James Turner 2012-07-30 17:04:32 +01:00
parent 86e61cfd78
commit 36fe51c7f0

View file

@ -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 ()