Fixes #14974.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73381
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
if(lpMsg && lpMsg->message == WM_KEYDOWN)
{
{
if(lpMsg && lpMsg->message == WM_KEYDOWN)
{
- //control is down?
- if((GetKeyState(VK_CONTROL) & 0x8000 ))
+ // check control is down but that it isn't right-alt which is mapped to
+ // alt + ctrl
+ if(GetKeyState(VK_CONTROL) & 0x8000 &&
+ !(GetKeyState(VK_MENU) & 0x8000))
{
//skip the accelerators used by the control
switch(lpMsg->wParam)
{
//skip the accelerators used by the control
switch(lpMsg->wParam)