diff options
author | Veronika Irvine <veronika> | 2004-02-11 16:34:52 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2004-02-11 16:34:52 +0000 |
commit | 439b15f8a85a9ab4e8b77de55180416acc30dcb4 (patch) | |
tree | 2ffc8086490ef6d49da1bc7afd56ff3d78227c37 | |
parent | b31eac98309a1d4b14512588653b3bbcac2e3407 (diff) | |
download | eclipse.platform.swt-439b15f8a85a9ab4e8b77de55180416acc30dcb4.tar.gz eclipse.platform.swt-439b15f8a85a9ab4e8b77de55180416acc30dcb4.tar.xz eclipse.platform.swt-439b15f8a85a9ab4e8b77de55180416acc30dcb4.zip |
*** empty log message ***
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java index a7150c325d..58eaa42eb4 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java @@ -473,6 +473,9 @@ public void addSelectionListener(SelectionListener listener) { addListener(SWT.DefaultSelection, typedListener); } void antialias (int[] shape, RGB lineRGB, RGB innerRGB, RGB outerRGB, GC gc){ + //don't perform anti-aliasing on Mac because the platform + // already does it. + if ("carbon".equals(SWT.getPlatform())) return; if (outerRGB != null) { int index = 0; boolean left = true; |