]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/window.cpp
fvisibility-inlines-hidden fix
[wxWidgets.git] / src / msw / window.cpp
index 6d3b2b4bc66577b43be107537dd579c1ea5f327d..313a182e1cdfec0a98965e723c78ae07c331a4de 100644 (file)
@@ -2155,10 +2155,13 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
             switch ( msg->wParam )
             {
                 case VK_TAB:
-                    if ( lDlgCode & DLGC_WANTTAB ) {
+                    if ( (lDlgCode & DLGC_WANTTAB) && !bCtrlDown )
+                    {
+                        // let the control have the TAB
                         bProcess = false;
                     }
-                    else {
+                    else // use it for navigation
+                    {
                         // Ctrl-Tab cycles thru notebook pages
                         bWindowChange = bCtrlDown;
                         bForward = !bShiftDown;