Yeah it's even here:

If the receiver displays a pop-up menu, this method changes the current item to 
be the item with the specified title, adding a new item by that name if one 
does not already exist.

But when setUsesItemFromMenu: is set to NO I can make my own item so it works.  
The last I did this was with a segmented control and I remember setLabel: 
seemed to work just fine so this caught me by surprise too.  But all is well 
now and thanks for the help!

rc



On Jun 20, 2012, at 11:22 AM, Graham Cox wrote:

> 
> On 19/06/2012, at 3:20 PM, Rick C. wrote:
> 
>> That's what I'm doing and it does change the title, but when I do it will 
>> create a new menu item with the new name that I assigned.
> 
> 
> 
> So it does - that's unexpected. In fact, that's really a strange design 
> choice right there... but I guess it's been that way a long time so we can 
> hardly complain. Glad you found a solution.
> 
> --Graham
> 
> 

_______________________________________________

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

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

Reply via email to