EXC_BAD_ACCESS. But I think I found the issue. I wasn't retaining
the font returned by menuFontForSize:. What threw me off was that
this never caused a problem in Tiger (perhaps it is a static instance
that is returned there) but did on Leopard. No idea of the reason
for the change though.
Thanks,
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On Mar 7, 2008, at 4:49 PM, Kyle Sluder wrote:
On Fri, Mar 7, 2008 at 4:31 PM, Ben Lachman <[EMAIL PROTECTED]> wrote:
In my custom view I call [NSMenu popUpContextMenu:contextMenu
withEvent:theEvent forView:self] during mousDown: in some cases. It
sometimes crashes during this call in [NSFont __isSystemFont]. The
menu I'm giving it has multiple sizes of the default menu font in
it.
Any ideas why this is happening? Same code works fine on Tiger.
What's the actual crash?
--Kyle Sluder
_______________________________________________
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 [EMAIL PROTECTED]