Fix keyboard shortcuts not working in events editor with wxGTK