src/video/cocoa/SDL_cocoaevents.m
changeset 7739 329c9da4bfeb
parent 7511 4ce3cc948a00
child 7801 f00cc0a8cd5d
equal deleted inserted replaced
7738:10981a646a6d 7739:329c9da4bfeb
   229 
   229 
   230         if ([NSApp mainMenu] == nil) {
   230         if ([NSApp mainMenu] == nil) {
   231             CreateApplicationMenus();
   231             CreateApplicationMenus();
   232         }
   232         }
   233         [NSApp finishLaunching];
   233         [NSApp finishLaunching];
       
   234         NSDictionary *appDefaults = [NSDictionary dictionaryWithObject:@"NO" forKey:@"AppleMomentumScrollSupported"];
       
   235         [[NSUserDefaults standardUserDefaults] registerDefaults:appDefaults];
       
   236 
   234     }
   237     }
   235     if (NSApp && ![NSApp delegate]) {
   238     if (NSApp && ![NSApp delegate]) {
   236         [NSApp setDelegate:[[SDLAppDelegate alloc] init]];
   239         [NSApp setDelegate:[[SDLAppDelegate alloc] init]];
   237     }
   240     }
   238     [pool release];
   241     [pool release];