views:

18

answers:

0

I am using wxPython to create a taskbar menu. The menu contains some menu items (obviously). Now I would like to update/change some of these items when a particular item is clicked, while still displaying the menu.

How can I prevent the taskbar menu from disappearing after clicking an item? The only method I've found that could be useful is wxMenu.UpdateUI(), but that doesn't prevent the menu from disappearing.