Ticket #15479 (closed defect: wontfix)
wxMenu sends events in inappropriate order
|Reported by:||orson||Owned by:|
|Keywords:||wxMenu event close selected||Cc:|
When closing a wxMenu by selecting an item, it sends first wxEVT_MENU_CLOSE event and then wxEVT_COMMAND_MENU_SELECTED. It makes harder to decide if user has closed the menu by choosing anything or simply dismissed it.
In the attachment there is code to test the case.
wxWidgets built from Arch AUR ( https://aur.archlinux.org/packages/wx/wxwidgets/PKGBUILD)