From: Robin Dunn Date: Wed, 4 Feb 2004 02:00:48 +0000 (+0000) Subject: Also allow key events for Shift-Tab when wxWANTS_CHARS style is used X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6afa47d63d56094958ed4d2528bf45ad67340954?ds=inline Also allow key events for Shift-Tab when wxWANTS_CHARS style is used git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/window.cpp b/src/msw/window.cpp index bbca2e056f..51c815981d 100644 --- a/src/msw/window.cpp +++ b/src/msw/window.cpp @@ -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 {