Corrected WM_KEYDOWN bug (missing 'break')

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 1999-02-22 10:31:34 +00:00
parent 7c5dc04fd2
commit 1edddaf24c

View File

@ -1252,12 +1252,14 @@ long wxWindow::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
case VK_RIGHT: case VK_RIGHT:
case VK_DOWN: case VK_DOWN:
case VK_UP: case VK_UP:
{
/* /*
// if ( ::GetKeyState(VK_CONTROL) & 0x100 ) // Don't understand purpose of this test // if ( ::GetKeyState(VK_CONTROL) & 0x100 ) // Don't understand purpose of this test
if (!MSWOnChar((WORD)wParam, lParam)) if (!MSWOnChar((WORD)wParam, lParam))
return Default(); return Default();
break;
*/ */
break;
}
default: default:
if (!MSWOnChar((WORD)wParam, lParam)) if (!MSWOnChar((WORD)wParam, lParam))
{ {