mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 20:11:58 +00:00
Renamed function.
This commit is contained in:
parent
cb9bae5c71
commit
3383e59a73
@ -523,7 +523,7 @@ static NSString* findAppName(void)
|
|||||||
// localize(d|able), etc. Loading a nib would save us this horror, but that
|
// localize(d|able), etc. Loading a nib would save us this horror, but that
|
||||||
// doesn't seem like a good thing to require of GLFW's clients.
|
// doesn't seem like a good thing to require of GLFW's clients.
|
||||||
//========================================================================
|
//========================================================================
|
||||||
static void setUpMenuBar(void)
|
static void createMenuBar(void)
|
||||||
{
|
{
|
||||||
NSString* appName = findAppName();
|
NSString* appName = findAppName();
|
||||||
|
|
||||||
@ -597,7 +597,7 @@ static GLboolean initializeAppKit(void)
|
|||||||
// Setting up the menu bar must go between sharedApplication
|
// Setting up the menu bar must go between sharedApplication
|
||||||
// above and finishLaunching below, in order to properly emulate the
|
// above and finishLaunching below, in order to properly emulate the
|
||||||
// behavior of NSApplicationMain
|
// behavior of NSApplicationMain
|
||||||
setUpMenuBar();
|
createMenuBar();
|
||||||
|
|
||||||
[NSApp finishLaunching];
|
[NSApp finishLaunching];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user