summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2006-03-16 16:18:05 +0000
committerSteve Northover <steve>2006-03-16 16:18:05 +0000
commit0c70daa458ad57e4cae80889c9f578fd4ff166bb (patch)
tree414f7adeb2618ad4eb808141a1815f98ef97ad50
parent5fbc52b7c83b0484a144116d8aa460a44c562aed (diff)
downloadeclipse.platform.swt-0c70daa458ad57e4cae80889c9f578fd4ff166bb.tar.gz
eclipse.platform.swt-0c70daa458ad57e4cae80889c9f578fd4ff166bb.tar.xz
eclipse.platform.swt-0c70daa458ad57e4cae80889c9f578fd4ff166bb.zip
132089 - Tree: Text corruption in cells after moving column 0 and resizing column
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index 0da09b4050..bdfb750ada 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -5267,7 +5267,7 @@ LRESULT WM_NOTIFY (int wParam, int lParam) {
int flags = OS.SW_INVALIDATE | OS.SW_ERASE;
OS.ScrollWindowEx (handle, deltaX, 0, rect, null, 0, null, flags);
}
- if (phdn.iItem != 0) {
+ if (OS.SendMessage (hwndHeader, OS.HDM_ORDERTOINDEX, phdn.iItem, 0) != 0) {
rect.left = headerRect.left;
rect.right = headerRect.right;
OS.InvalidateRect (handle, rect, true);