|
|
@ -515,6 +515,8 @@ static int convertMacKeyCode(unsigned int macKeyCode) |
|
|
|
|
|
|
|
|
|
|
|
@end |
|
|
|
@end |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#if defined(_GLFW_USE_MENUBAR) |
|
|
|
|
|
|
|
|
|
|
|
// Try to figure out what the calling application is called |
|
|
|
// Try to figure out what the calling application is called |
|
|
|
// |
|
|
|
// |
|
|
|
static NSString* findAppName(void) |
|
|
|
static NSString* findAppName(void) |
|
|
@ -557,8 +559,6 @@ static NSString* findAppName(void) |
|
|
|
return @"GLFW Application"; |
|
|
|
return @"GLFW Application"; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
#if defined(_GLFW_USE_MENUBAR) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Set up the menu bar (manually) |
|
|
|
// Set up the menu bar (manually) |
|
|
|
// This is nasty, nasty stuff -- calls to undocumented semi-private APIs that |
|
|
|
// This is nasty, nasty stuff -- calls to undocumented semi-private APIs that |
|
|
|
// could go away at any moment, lots of stuff that really should be |
|
|
|
// could go away at any moment, lots of stuff that really should be |
|
|
|