MacOS Menubar icon not triggering events


I’m having difficulty with menubar item (icon) in upper right corner, when clicked it is not triggering events.
This works fine in Windows 10 when taskbar icon is clicked.

None of these are triggering. Is there some special event I should be using in MacOS (10.14)?

I’m using Python 2.7 and wxPython 4.0.6.

On OSX the TaskBarIcon is only able to show a popup menu, and you need to override the CreatePopMenu method to provide the menu to be displayed. See the demo’s module so see an example.

Thank you.
Exactly what I needed.