Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBogdan Gheorghe2012-08-09 15:23:26 +0000
committerBogdan Gheorghe2012-08-09 15:23:26 +0000
commit8333e406729c85b7c9e58dce270610299abe2674 (patch)
tree522de4de8209175bbf6d374cf12f7260e7d5e4d4 /bundles
parentd1bd88961a0efd15440afe0fe6150cc87d610695 (diff)
downloadeclipse.platform.swt-8333e406729c85b7c9e58dce270610299abe2674.tar.gz
eclipse.platform.swt-8333e406729c85b7c9e58dce270610299abe2674.tar.xz
eclipse.platform.swt-8333e406729c85b7c9e58dce270610299abe2674.zip
Revert "Bug 384743-CTabFolderRenderer can no longer be used in SWT 42"
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
index a2e91050cd..95a2863a9f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java
@@ -1719,7 +1719,7 @@ public class CTabFolderRenderer {
}
void updateCurves () {
- if (!(this instanceof CTabFolderRenderer)) return;
+ if (this.getClass() != CTabFolderRenderer.class) return;
int tabHeight = parent.tabHeight;
if (tabHeight == lastTabHeight) return;
if (parent.onBottom) {

Back to the top