Re: Carbon Menu in Cocoa app
Re: Carbon Menu in Cocoa app
- Subject: Re: Carbon Menu in Cocoa app
- From: "Kyle Sluder" <email@hidden>
- Date: Tue, 18 Mar 2008 14:42:47 -0400
On Tue, Mar 18, 2008 at 2:25 PM, Daniel zeilMal <email@hidden> wrote:
> I have a custom view . And I have drew something on this view . I want to
> add a custom view to a menuItem . But this is not supported before Leopard .So
Are you trying to use _NSGetCarbonMenu on Leopard? If so, just go
with the NSView in NSMenu approach. Leave _NSGetCarbonMenu for Tiger
only. Since the symbol is still defined on Leopard (even though it's
giving you NULL) a simple if statement should suffice.
--Kyle Sluder
_______________________________________________
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