Cocoa: Update outdated comment

This commit is contained in:
Camilla Löwy 2019-11-28 00:37:30 +01:00
parent 382943f2b0
commit b3544ca43e

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"])
{ {