Re: Can't get setDelegate to work on NSMenu attached to NSStatusItem (SOLVED)
Re: Can't get setDelegate to work on NSMenu attached to NSStatusItem (SOLVED)
- Subject: Re: Can't get setDelegate to work on NSMenu attached to NSStatusItem (SOLVED)
- From: "Mark D. Gerl" <email@hidden>
- Date: Wed, 4 Mar 2009 16:53:03 -0500
On Mar 3, 2009, at 2:30 PM, Mark D. Gerl wrote:
// *** DOING this causes the menu to NOT pop down ***
[menu setDeligate:menuController];
DOH! Spelling error. I never noticed the wee warning triangle next
to the call - I spelled "delegate" wrong. I do miss C++ compiler
errors! Serves me right for not looking closer at the runlog:
*** -[NSMenu setDeligate:]: unrecognized selector sent...
Thanks for all the suggestions!
M
--
Mark D. Gerl, Multimedia Design Group, <mailto:email@hidden>
_______________________________________________
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