fixes unicode keyboard input being broken due to new wxWidgets change in behavior