]> git.saurik.com Git - wxWidgets.git/commitdiff
Also allow key events for Shift-Tab when wxWANTS_CHARS style is used
authorRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 02:00:48 +0000 (02:00 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 02:00:48 +0000 (02:00 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/window.cpp

index bbca2e056f2dd6f17a540a51063f775e414c3566..51c815981dd819b312bb70ba6d319118b88ca285 100644 (file)
@@ -1813,10 +1813,7 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
             switch ( msg->wParam )
             {
                 case VK_TAB:
-                    // assume that nobody wants Shift-TAB for himself - if we
-                    // don't do it there is no easy way for a control to grab
-                    // TABs but still let Shift-TAB work as navugation key
-                    if ( (lDlgCode & DLGC_WANTTAB) && !bShiftDown ) {
+                    if ( lDlgCode & DLGC_WANTTAB ) {
                         bProcess = FALSE;
                     }
                     else {