Aside from the fact _NSGetCarbonMenu is private and is subject to
change at any given time, don't you mean -mainMenu instead of -menu?
Ack, at 5/4/05, Luc Vandal said:
- (void)SomeFunction
{
NSMenu* menu = [NSApp menu];
MenuRef mr = _NSGetCarbonMenu( menu ); //crashes here
}
Have I forgot something?
--
Sincerely,
Rosyna Keller
Technical Support/Holy Knight/Always needs a hug
Unsanity: Unsane Tools for Insanely Great People
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden