diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index a4c81fe0b8..edb0f4923c 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -1756,7 +1756,7 @@ bool wxListCtrl::MSWShouldPreProcessMessage(WXMSG* msg) // We need VK_RETURN to generate wxEVT_COMMAND_LIST_ITEM_ACTIVATED, // but only if none of the modifiers is down. We'll let normal // accelerators handle those. - if ( !wxIsCtrlDown() && !wxIsCtrlDown() && + if ( !wxIsCtrlDown() && !wxIsShiftDown() && !((HIWORD(msg->lParam) & KF_ALTDOWN) == KF_ALTDOWN)) return false; }