diff options
author | Steve Northover <steve> | 2007-05-23 19:32:42 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2007-05-23 19:32:42 +0000 |
commit | e786403a5aaa9627b0fb9732905a009707211227 (patch) | |
tree | 8e3c3c1f88f3686ed0792abe15618641527c725e | |
parent | 41acd10ceebece3466a430c500d8003c98a28198 (diff) | |
download | eclipse.platform.swt-e786403a5aaa9627b0fb9732905a009707211227.tar.gz eclipse.platform.swt-e786403a5aaa9627b0fb9732905a009707211227.tar.xz eclipse.platform.swt-e786403a5aaa9627b0fb9732905a009707211227.zip |
188265 - Trees flicker when focus changes [again]
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java | 8 |
1 files changed, 3 insertions, 5 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 cb78c9e1fb..09dba5374a 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 @@ -5653,7 +5653,6 @@ LRESULT WM_KEYDOWN (int wParam, int lParam) { } LRESULT WM_KILLFOCUS (int wParam, int lParam) { - LRESULT result = super.WM_KILLFOCUS (wParam, lParam); /* * Bug in Windows. When a tree item that has an image * with alpha is expanded or collapsed, the area where @@ -5680,7 +5679,7 @@ LRESULT WM_KILLFOCUS (int wParam, int lParam) { } } if (redraw) redrawSelection (); - return result; + return super.WM_KILLFOCUS (wParam, lParam); } LRESULT WM_LBUTTONDBLCLK (int wParam, int lParam) { @@ -6309,8 +6308,7 @@ LRESULT WM_PRINTCLIENT (int wParam, int lParam) { return new LRESULT (code); } -LRESULT WM_SETFOCUS (int wParam, int lParam) { - LRESULT result = super.WM_SETFOCUS (wParam, lParam); +LRESULT WM_SETFOCUS (int wParam, int lParam) { /* * Bug in Windows. When a tree item that has an image * with alpha is expanded or collapsed, the area where @@ -6337,7 +6335,7 @@ LRESULT WM_SETFOCUS (int wParam, int lParam) { } } if (redraw) redrawSelection (); - return result; + return super.WM_SETFOCUS (wParam, lParam); } LRESULT WM_SETFONT (int wParam, int lParam) { |