That's the conclusion I came to but wanted to make sure I didn't miss something
obvious. The documentation is omitted this detail. I'll file a bug for this.
For the life of me, I cannot understand why NSToolbarItem contains the view and
is not derived from a view, it just adds more work on t
On Aug 9, 2010, at 5:37 PM, Tony Romano wrote:
[...]
>
>
> Looking at the documentation for NSToolbarItem setAction:, it has a little
> note: "For a custom view item, this method calls setAction: on the view if it
> responds.". Which I infer to mean, that the basic Custom View should work.
I'm trying to add a toolbar item that has a custom view. I suspect there is a
bug with the NSToolbarItem setAction: method if I choose to use a basic custom
view(derived from NSView). In my mouse down, calling [NSApp
sendAction:[_toolbarItem1 action] to:[_toolbarItem1 target] from:_toolbarItem1