Do the same thing for them as for Ctrl-N, Ctrl-F and Ctrl-P, they are also
used by the control.
Closes #14192.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71123
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
//control is down?
if((GetKeyState(VK_CONTROL) & 0x8000 ))
{
- //skip CTRL-N, CTRL-F and CTRL-P
- if(lpMsg->wParam == 'N' || lpMsg->wParam == 'P' || lpMsg->wParam == 'F')
+ //skip the accelerators used by the control
+ switch(lpMsg->wParam)
{
- return S_OK;
+ case 'F':
+ case 'L':
+ case 'N':
+ case 'O':
+ case 'P':
+ return S_OK;
}
}
//skip F5