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