Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EventManager maintains a map of menu ID -> command strings
Use a "reverse map" alongside the forward map of command strings to wxMenuItem pointers, avoiding the need for a slow search for a specific menu ID in onMenuItemClicked().
- Loading branch information
Matthew Mott
committed
Jun 22, 2022
1 parent
bfebe76
commit dfbe8e4
Showing
2 changed files
with
38 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters