[SDL] SDL App menu title on OS X

Fredrick Meunier fredm at spamcop.net
Sun Nov 17 12:48:01 PST 2002


Hi Sam,

First of all thanks for all your work on SDL over the years, and for 
helping out with my problem!

Sam Lantinga wrote:
>>I did not have CFBundleIdentifier set in my app, I have now set it, and rebuilt
>>everything, but I still have SDL App up in the corner :)
> 
> 
>>I tried again by creating a new 'SDL Application' ("Test") using the PB
>>stationary, set SDL_USE_NIB_FILE to 1 in SDLMain.m, added SDLMain.nib to the
>>project from SDL.framework/Resources, set CFBundleIdentifier to 'Test', main nib
>>file to SDLMain, and compiled and ran the app. I still get 'SDL App' as my menu
>>title :(
> 
> 
> Call SDL_WM_SetCaption() from your code to set the title bar text.

I do call SDL_WM_SetCaption() in my code, but my problem is not the 
title bar having no text. It is that the SDL-generated program menu on 
Mac OS X has 'SDL App' where it should say 'Test' for my example above. 
The other SDL-generated menu items in this menu correctly substitute my 
app name ('Test' above) for 'SDL App'. As other SDL programs for Max OS 
X I have looked at don't seem to have the same problem I am sure I am 
missing something (not so) obvious...

Fred





More information about the SDL mailing list