Re: NSSpellChecker and checkSpellingOfString problems
Re: NSSpellChecker and checkSpellingOfString problems
- Subject: Re: NSSpellChecker and checkSpellingOfString problems
- From: Knut Lorenzen <email@hidden>
- Date: Thu, 3 Dec 2009 18:14:01 +0100
Am 03.12.2009 um 17:55 schrieb Keith Blount:
> I have an NSTextView subclass that provides a custom contextual menu by overriding -menuForEvent:. Because I override this, I have to provide any menu items I want to retain from the original menu myself.
Can't you simply use something like
NSMenu *theMenu = [super menuForEvent:theEvent];
early in your code and let the system do the heavy lifting?
Cheers,
Knut
_______________________________________________
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