From bc7e1bc085c7d5faaae0b0da826b492f201e635a Mon Sep 17 00:00:00 2001 From: Carolyn MacLeod Date: Wed, 14 Nov 2012 09:48:23 -0500 Subject: Bug 394016 -Ctrl+PageDown doesn't work multiple times in Classic theme --- .../common/org/eclipse/swt/custom/CTabFolder.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java index eedc76cbaf..0907b1b651 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java @@ -760,7 +760,7 @@ public boolean getBorderVisible() { } ToolBar getChevron() { if (chevronTb == null) { - chevronTb = new ToolBar(this, SWT.FLAT); + chevronTb = new ToolBar(this, SWT.FLAT | SWT.NO_FOCUS); initAccessibleChevronTb(); addTabControl(chevronTb, SWT.TRAIL, -1, false); } @@ -2366,7 +2366,7 @@ void setButtonBounds(GC gc) { Display display = getDisplay(); if (showMax) { if (minMaxTb == null) { - minMaxTb = new ToolBar(this, SWT.FLAT); + minMaxTb = new ToolBar(this, SWT.FLAT | SWT.NO_FOCUS); initAccessibleMinMaxTb(); addTabControl(minMaxTb, SWT.TRAIL, 0, false); } @@ -2389,7 +2389,7 @@ void setButtonBounds(GC gc) { // min button if (showMin) { if (minMaxTb == null) { - minMaxTb = new ToolBar(this, SWT.FLAT); + minMaxTb = new ToolBar(this, SWT.FLAT | SWT.NO_FOCUS); initAccessibleMinMaxTb(); addTabControl(minMaxTb, SWT.TRAIL, 0, false); } -- cgit