diff options
author | Steve Northover <steve> | 2005-05-05 22:41:38 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-05-05 22:41:38 +0000 |
commit | 24569b598a729233dea8754d5321c284fe1174a6 (patch) | |
tree | 2ce754e47c0f15b53d163ebaad56efa3a0aa603d | |
parent | e7d5e6d7e9bb1d81ecf5906c289904291f79c308 (diff) | |
download | eclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.tar.gz eclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.tar.xz eclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.zip |
formatting fix
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java index ed6a961b42..00a16a8287 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java @@ -281,12 +281,13 @@ void setBackgroundPixel (int pixel) { super.setBackgroundPixel (pixel); /* * Bug in Windows. Changing the background color of the Scale - * widget and calling InvalidateRect still draws with the old color. - * The fix is to post a fake WM_SETFOCUS event to cause it to redraw - * with the new background color. + * widget and calling InvalidateRect() still draws with the old + * color. The fix is to post a fake WM_SETFOCUS event to cause + * it to redraw with the new background color. * * Note. This WM_SETFOCUS message causes recursion when - * setBackground is called from within the focus event listener. + * setBackground is called from within the focus event + * listener. */ OS.PostMessage (handle, OS.WM_SETFOCUS, 0, 0); } |