summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2005-05-05 22:41:38 +0000
committerSteve Northover <steve>2005-05-05 22:41:38 +0000
commit24569b598a729233dea8754d5321c284fe1174a6 (patch)
tree2ce754e47c0f15b53d163ebaad56efa3a0aa603d
parente7d5e6d7e9bb1d81ecf5906c289904291f79c308 (diff)
downloadeclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.tar.gz
eclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.tar.xz
eclipse.platform.swt-24569b598a729233dea8754d5321c284fe1174a6.zip
formatting fix
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java9
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);
}