Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGrant Gayed2007-08-24 15:12:08 +0000
committerGrant Gayed2007-08-24 15:12:08 +0000
commitdf88720ffacc1e4aedc46ad9c7993c18542607af (patch)
treeb07cad715918bc8c3d0d00c6ea70126304d11077
parentf426f6bf2b201e851a81462ce072d2af4d24fdab (diff)
downloadeclipse.platform.swt-df88720ffacc1e4aedc46ad9c7993c18542607af.tar.gz
eclipse.platform.swt-df88720ffacc1e4aedc46ad9c7993c18542607af.tar.xz
eclipse.platform.swt-df88720ffacc1e4aedc46ad9c7993c18542607af.zip
don't clear SWT.CLOSE style
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
index 7e3068238e..9d4e7258c2 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
@@ -118,13 +118,10 @@ public CTabItem (CTabFolder parent, int style) {
* @see Widget#getStyle()
*/
public CTabItem (CTabFolder parent, int style, int index) {
- super (parent, checkStyle(style));
+ super (parent, style);
showClose = (style & SWT.CLOSE) != 0;
parent.createItem (this, index);
}
-static int checkStyle(int style) {
- return SWT.NONE;
-}
/*
* Return whether to use ellipses or just truncate labels

Back to the top