does already. IOW, Ctrl-C should result in keycode == 3, not 99.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16512
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int id;
if ( isASCII )
{
- // If 1 -> 26, translate to CTRL plus a letter.
+ // If 1 -> 26, translate to either special keycode or just set
+ // ctrlDown. IOW, Ctrl-C should result in keycode == 3 and
+ // ControlDown() == TRUE.
id = wParam;
if ( (id > 0) && (id < 27) )
{
default:
ctrlDown = TRUE;
- id = id + 'a' - 1;
+ break;
}
}
}