diff -Naur SDL-1.2.11-orig/src/main/macosx/SDLMain.m SDL-1.2.11/src/main/macosx/SDLMain.m --- SDL-1.2.11-orig/src/main/macosx/SDLMain.m 2006-05-11 20:02:32.000000000 -0700 +++ SDL-1.2.11/src/main/macosx/SDLMain.m 2006-11-09 23:39:36.000000000 -0800 @@ -20,6 +20,9 @@ /* Use this flag to determine whether we use SDLMain.nib or not */ #define SDL_USE_NIB_FILE 0 +/* Use this flag to determine whether to set up the Application and Window menu items */ +/* #define SDL_SETUP_MENUS 1 */ + /* Use this flag to determine whether we use CPS (docking) or not */ #define SDL_USE_CPS 1 #ifdef SDL_USE_CPS @@ -218,8 +221,10 @@ /* Set up the menubar */ [NSApp setMainMenu:[[NSMenu alloc] init]]; +#ifdef SDL_SETUP_MENUS setApplicationMenu(); setupWindowMenu(); +#endif /* SDL_SETUP_MENUS */ /* Create SDLMain and make it the app delegate */ sdlMain = [[SDLMain alloc] init];