On Thu, Apr 2, 2009 at 7:58 AM, Graham Cox <graham....@bigpond.com> wrote: > > On 02/04/2009, at 12:55 PM, Rua Haszard Morris wrote: > >> This seems like a weird hack, and makes me think I'm going about this the >> wrong way - is this a normal approach? > > I'm afraid so. I think the reason could be (pre)historic - the original > Carbon Menu Manager (which Cocoa sits atop) constructed menus this way. It > sucks, has always sucked, and looks likely that (as it has never been > changed despite the vast catalogue of other changes elsewhere) will always > suck.
I doubt this is the case. NSPopUpButton long predates Mac OS X and therefore existed long before it was implemented on top of the Menu Manager. Sounds like convergent evolution to me. A silly choice I agree, but somehow it got made twice. Mike _______________________________________________ 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