Added support for OS X 10.10

Note: this only fix the compilation process. SFML was not thoroughly
tested on this OS yet.
This commit is contained in:
Marco Antognini 2014-09-21 07:39:05 +02:00
parent e157e7a7a8
commit 2427aaf3bb
2 changed files with 2 additions and 2 deletions

View file

@ -225,7 +225,7 @@ void WindowImplCocoa::setUpProcess(void)
// Register an application delegate if there is none
if (![[SFApplication sharedApplication] delegate])
[NSApp setDelegate:[[[SFApplicationDelegate alloc] init] autorelease]];
[[NSApplication sharedApplication] setDelegate:[[SFApplicationDelegate alloc] init]];
// Create menus for the application (before finishing launching!)
[SFApplication setUpMenuBar];