NSMenuItem enabling
NSMenuItem enabling
- Subject: NSMenuItem enabling
- From: Andreas Höschler <email@hidden>
- Date: Fri, 1 Oct 2010 10:24:22 +0200
Hi all,
in my application I have an NSWindow with NSScrollView/NSTextView and
while programmatically building the menu for the application I am doing
[_sdmMenu addItemWithTitle:@"Create Section"
action:@selector(createSection:) keyEquivalent:@"S"];
My NSTextView subclass implements createSection:
On MacOSX 10.2 (PowerPC) the menu item gets enabled automatically when
I click into the NSTextView. However, on my MacOSX 10.5.7 (Intel)
machine the menu item stays grayed out. I am wondering why!?
What has changed from 10.2 to 10.5 that makes this not working
anymore? How can I fix this?
Thanks a lot,
Andreas
_______________________________________________
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