]> git.saurik.com Git - wxWidgets.git/commitdiff
include X11/Xutil.h for wxMotif compilation
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Jul 2006 01:28:10 +0000 (01:28 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 25 Jul 2006 01:28:10 +0000 (01:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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;