Ticket #12218 (closed defect: invalid)
EVT_MENU_OPEN breaks EVT_UPDATE_UI
| Reported by: | sproaty | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | GUI-all | Version: | 2.8.x |
| Keywords: | evt_menu_open evt_update_ui | Cc: | |
| Blocked By: | Patch: | no | |
| Blocking: |
Description
This appears to be a bug - binding EVT_MENU_OPEN will break
EVT_UPDATE_UI. The code below is a sample demonstrating the issue.
I've tested this on both Windows XP and Ubuntu 9.10 and neither work.
In evt_idle I purposely set the update event to False to disable the
menu, but as you can see, it comes through enabled. Commenting out the
call to bind EVT_MENU_OPEN fixes this.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

