Am trying to load a main menu file thus: int main(int argc, const char *argv[]) { NSAutoreleasePool *pool = [NSAutoreleasePool new];
[NSApplication sharedApplication]; [NSBundle loadGSMarkupNamed:@"MainMenu" owner:NSApp]; return NSApplicationMain(argc, argv); } But I get an app with a blank menu. If I create a dummy object to act as the delegate and pass an instance of that in as the owner then it works. Passing in nil or NSApp doesnt. How do I simply load up a main menu nib file without having to create a dummy deletage for it ? Theer are no references to the files owner in the actual markup file. I am quite puzzled by this. -bat. _______________________________________________ Bug-gnustep mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-gnustep