I have an NSStatusItem
that displays an NSMenu
full of NSView
subclasses. I override drawRect:
in my NSView
subclass to implement highlighting in the NSMenu
and everything works fine in the root menu, but for some reason it doesn't work in submenus of the root menu. I put some NSLog
statements in my NSView
subclasses drawRect:
and noticed that it's not even being called for the views in the submenu. Any ideas?
I can post the code that I'm using to highlight the views, but I don't think that its necessary since drawRect:
is not even being called. Let me know if there's any other code you need to see that might help.