Fixed building on Mac OS X SDL-1.2
authorSam Lantinga <slouken@libsdl.org>
Thu, 15 Oct 2009 05:18:48 +0000
branchSDL-1.2
changeset 4338d78e4e0bf553
parent 4337 4eb6b4be1dbc
child 4339 819270e2f893
Fixed building on Mac OS X
src/main/macosx/SDLMain.m
     1.1 --- a/src/main/macosx/SDLMain.m	Thu Oct 15 02:52:11 2009 +0000
     1.2 +++ b/src/main/macosx/SDLMain.m	Thu Oct 15 05:18:48 2009 +0000
     1.3 @@ -201,7 +201,7 @@
     1.4      SDLMain				*sdlMain;
     1.5  
     1.6      /* Ensure the application object is initialised */
     1.7 -    [SDLApplication sharedApplication];
     1.8 +    [NSApplication sharedApplication];
     1.9      
    1.10  #ifdef SDL_USE_CPS
    1.11      {
    1.12 @@ -210,7 +210,7 @@
    1.13          if (!CPSGetCurrentProcess(&PSN))
    1.14              if (!CPSEnableForegroundOperation(&PSN,0x03,0x3C,0x2C,0x1103))
    1.15                  if (!CPSSetFrontProcess(&PSN))
    1.16 -                    [SDLApplication sharedApplication];
    1.17 +                    [NSApplication sharedApplication];
    1.18      }
    1.19  #endif /* SDL_USE_CPS */
    1.20