diff --git a/src/cocoa/i_backend_cocoa.mm b/src/cocoa/i_backend_cocoa.mm index 05aacd6c8..81c487cc7 100644 --- a/src/cocoa/i_backend_cocoa.mm +++ b/src/cocoa/i_backend_cocoa.mm @@ -2021,6 +2021,11 @@ NSMenuItem* CreateApplicationMenu() NSMenuItem* menuItem = [NSMenuItem new]; [menuItem setSubmenu:menu]; + if ([NSApp respondsToSelector:@selector(setAppleMenu:)]) + { + [NSApp performSelector:@selector(setAppleMenu:) withObject:menu]; + } + return menuItem; }