include X11/Xutil.h for wxMotif compilation

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-07-25 01:28:10 +00:00
parent 04f99266b0
commit 7cc4466989

View File

@@ -2155,10 +2155,13 @@ bool wxWindowMSW::MSWProcessMessage(WXMSG* pMsg)
switch ( msg->wParam ) switch ( msg->wParam )
{ {
case VK_TAB: case VK_TAB:
if ( lDlgCode & DLGC_WANTTAB ) { if ( (lDlgCode & DLGC_WANTTAB) && !bCtrlDown )
{
// let the control have the TAB
bProcess = false; bProcess = false;
} }
else { else // use it for navigation
{
// Ctrl-Tab cycles thru notebook pages // Ctrl-Tab cycles thru notebook pages
bWindowChange = bCtrlDown; bWindowChange = bCtrlDown;
bForward = !bShiftDown; bForward = !bShiftDown;