]> git.saurik.com Git - wxWidgets.git/commitdiff
don't process VK_OEM_XXX key presses
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2001 18:13:36 +0000 (18:13 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 23 Jul 2001 18:13:36 +0000 (18:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index a87fdf163c5ef415ead6a1baa3befd04f32dfb04..49f54984e17313cb8513a4791096201ccb814ac3 100644 (file)
@@ -4171,11 +4171,8 @@ int wxCharCodeMSWToWX(int keySym)
         case VK_NUMPAD8:    id = WXK_NUMPAD8; break;
         case VK_NUMPAD9:    id = WXK_NUMPAD9; break;
         case VK_MULTIPLY:   id = WXK_NUMPAD_MULTIPLY; break;
-        case 0xBB:          id = WXK_NUMPAD_ADD; break; // VK_OEM_PLUS
         case VK_ADD:        id = WXK_NUMPAD_ADD; break;
-        case 0xBD:          id = WXK_NUMPAD_SUBTRACT; break; // VK_OEM_MINUS
         case VK_SUBTRACT:   id = WXK_NUMPAD_SUBTRACT; break;
-        case 0xBE:          id = WXK_NUMPAD_DECIMAL; break; // VK_OEM_PERIOD
         case VK_DECIMAL:    id = WXK_NUMPAD_DECIMAL; break;
         case VK_DIVIDE:     id = WXK_NUMPAD_DIVIDE; break;
         case VK_F1:         id = WXK_F1; break;