Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorConrad Groth2018-04-15 13:43:15 +0000
committerNiraj Modi2018-05-04 16:21:15 +0000
commit305c3533567def4f6c3889aa0548555cb13e1704 (patch)
tree1960dee287f57993ebaa40c7e215039145cae230
parentd111acbae39f5c650e5c87748d9529d8c6f6a57b (diff)
downloadeclipse.platform.swt-305c3533567def4f6c3889aa0548555cb13e1704.tar.gz
eclipse.platform.swt-305c3533567def4f6c3889aa0548555cb13e1704.tar.xz
eclipse.platform.swt-305c3533567def4f6c3889aa0548555cb13e1704.zip
Bug 531373 - [Win32] Table custom header background/foreground does not
work when scrolling Change-Id: Ide386b5cae394e60b70a93b1916fc8759a7abbfa Signed-off-by: Conrad Groth <info@conrad-groth.de>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
index 248276e875..f3963bd300 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
@@ -2990,7 +2990,7 @@ boolean isCustomToolTip () {
boolean isOptimizedRedraw () {
if ((style & SWT.H_SCROLL) == 0 || (style & SWT.V_SCROLL) == 0) return false;
- return !hasChildren () && !hooks (SWT.Paint) && !filters (SWT.Paint);
+ return !hasChildren () && !hooks (SWT.Paint) && !filters (SWT.Paint) && !customHeaderDrawing();
}
/**

Back to the top