On May 16, 2011, at 7:15 PM, Nick Zitzmann wrote: > On May 16, 2011, at 8:05 PM, Greg Parker wrote: >> >> Don't bother. The menu zone is gone as of Snow Leopard. -setMenuZone: does >> nothing, and -menuZone always returns the default malloc zone. > > Really? Good to know. I filed bug #9450065 on this issue.
Good idea; IMO +menuZone should be deprecated. For what it's worth, NSMenu.h says this: /* Returns the zone used to allocate NSMenu objects. This is left in for compatibility and always returns NSDefaultMallocZone(). It is not necessary to use this - menus can be allocated the usual way. */ + (NSZone *)menuZone; -- Greg Parker gpar...@apple.com gpar...@apple.com Runtime Wrangler _______________________________________________ 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