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
This commit is contained in:
@@ -1813,10 +1813,7 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
|
|||||||
switch ( msg->wParam )
|
switch ( msg->wParam )
|
||||||
{
|
{
|
||||||
case VK_TAB:
|
case VK_TAB:
|
||||||
// assume that nobody wants Shift-TAB for himself - if we
|
if ( lDlgCode & DLGC_WANTTAB ) {
|
||||||
// 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 ) {
|
|
||||||
bProcess = FALSE;
|
bProcess = FALSE;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Reference in New Issue
Block a user