On Tue, Mar 18, 2008 at 2:25 PM, Daniel zeilMal <[EMAIL PROTECTED]> 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 (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]