mirror of
https://github.com/encounter/SDL.git
synced 2025-12-09 05:27:48 +00:00
Updated to build on Mac OS X 10.7 with Xcode 4.6
This commit is contained in:
@@ -271,10 +271,9 @@ Cocoa_RegisterApp(void)
|
||||
CreateApplicationMenus();
|
||||
}
|
||||
[NSApp finishLaunching];
|
||||
NSDictionary *appDefaults = @{
|
||||
@"AppleMomentumScrollSupported": @NO,
|
||||
@"ApplePressAndHoldEnabled": @NO,
|
||||
};
|
||||
NSDictionary *appDefaults = [[NSDictionary alloc] initWithObjectsAndKeys:
|
||||
NO, @"AppleMomentumScrollSupported",
|
||||
NO, @"ApplePressAndHoldEnabled"];
|
||||
[[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user