Cocoa: Update outdated comment

(cherry picked from commit b3544ca43e)
This commit is contained in:
Camilla Löwy 2019-11-28 00:37:30 +01:00 committed by Camilla Löwy
parent 58c1621481
commit 17d727cd35

View File

@ -431,9 +431,8 @@ static GLFWbool initializeTIS(void)
// In case we are unbundled, make us a proper UI application // In case we are unbundled, make us a proper UI application
[NSApp setActivationPolicy:NSApplicationActivationPolicyRegular]; [NSApp setActivationPolicy:NSApplicationActivationPolicyRegular];
// Menu bar setup must go between sharedApplication above and // Menu bar setup must go between sharedApplication and finishLaunching
// finishLaunching below, in order to properly emulate the behavior // in order to properly emulate the behavior of NSApplicationMain
// of NSApplicationMain
if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"]) if ([[NSBundle mainBundle] pathForResource:@"MainMenu" ofType:@"nib"])
{ {