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 (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to