Hi:
I am having problems with an app under Mac OS X 10.4.3 and would like to know if some has an explanation:
I have an application that is developed without using a NIB (please do not complain about that, I know it is not the usual way to go) with the following main() function:
int main(int argc, char *argv[]) {
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
[NSApplication sharedApplication];
[NSApp setDelegate: [myAppDelegate new]];
[NSApp run];
[pool release];
return 0; }
"myAppDelegate" is a custom class that implements the "applicationWillFinishLaunching" delegate method.
Until (included 10.4.2), running that app, created a menu-bar with a working application menu, that included the usual menu items including "Quit". Under 10.4.3 only the menu-bar with the app name shows up but clicking on it does not unfold the menu.
Debugging the application and trying to access [NSApp mainMenu] returns nil on 10.4.3.
Is that change correct or am I doing something wrong. Why does it work on 10.4.2.
Any ideas?
Thanks for your help.
|