[[sender selectedCell] tag] crashes in 10.6
[[sender selectedCell] tag] crashes in 10.6
- Subject: [[sender selectedCell] tag] crashes in 10.6
- From: Henrietta Read <email@hidden>
- Date: Sat, 2 Jan 2010 14:40:40 -0800
Hi,
Think I must be doing something wrong, I just got a new laptop with 10.6 for
Christmas. My app that works fine in 10.5 seems to have all its pop-up menus
broken... ???
Here's the code:
- (IBAction)myPopupButton:(id)sender
{
gMyPopupButtonSetting = [[sender selectedCell] tag];
}
'gMyPopMenuSetting' is an Int.
When I step through the debugger, '[[sender selectedCell] tag]' crashes. Any
ideas why?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden