summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover <steve>2006-01-13 20:15:51 +0000
committerSteve Northover <steve>2006-01-13 20:15:51 +0000
commit89b2a2556716c59b7a86352c92b5146e04dbb67a (patch)
treeafd131755fa41874077171a28105e1737c22d2f4
parentc02b5e3de1ce6ea205b0d0a05d3282aed66e26e1 (diff)
downloadeclipse.platform.swt-89b2a2556716c59b7a86352c92b5146e04dbb67a.tar.gz
eclipse.platform.swt-89b2a2556716c59b7a86352c92b5146e04dbb67a.tar.xz
eclipse.platform.swt-89b2a2556716c59b7a86352c92b5146e04dbb67a.zip
123594 - Text.setForeground(Color) is ignored with SWT.INHERIT_FORCE
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
index c006865ce6..a30419da1e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
@@ -4061,7 +4061,7 @@ LRESULT wmColorChild (int wParam, int lParam) {
if (foreground == -1) return null;
}
if (control == null) control = this;
- int forePixel = control.getForegroundPixel ();
+ int forePixel = getForegroundPixel ();
int backPixel = control.getBackgroundPixel ();
OS.SetTextColor (wParam, forePixel);
OS.SetBkColor (wParam, backPixel);