]> git.saurik.com Git - wxWidgets.git/commitdiff
removed code which had no effect in HandleChar()
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 May 2006 00:31:02 +0000 (00:31 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 7 May 2006 00:31:02 +0000 (00:31 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index a4e435e41141f9936a78c3c6dea0e9a7b5166b0c..d359a4330d20f24f7a3b338946ff2a3fb88999d8 100644 (file)
@@ -4921,31 +4921,7 @@ bool wxWindowMSW::HandleChar(WXWPARAM wParam, WXLPARAM lParam, bool isASCII)
     int id;
     if ( isASCII )
     {
-        // If 1 -> 26, translate to either special keycode or just set
-        // ctrlDown.  IOW, Ctrl-C should result in keycode == 3 and
-        // ControlDown() == true.
         id = wParam;
-        if ( (id > 0) && (id < 27) )
-        {
-            switch (id)
-            {
-                case 13:
-                    id = WXK_RETURN;
-                    break;
-
-                case 8:
-                    id = WXK_BACK;
-                    break;
-
-                case 9:
-                    id = WXK_TAB;
-                    break;
-
-                default:
-                    //ctrlDown = true;
-                    break;
-            }
-        }
     }
     else // we're called from WM_KEYDOWN
     {