summaryrefslogtreecommitdiffstatsabout
diff options
context:
space:
mode:
authorRaymond Lam2012-01-08 00:57:07 (EST)
committer Felipe Heidrich2012-01-13 13:39:59 (EST)
commit7a1299e262185c88e376cd20f10620839ad6c37d (patch)
treefe89761c1592c1154146ca72f5846a38efb12d8f
parent5bc5d81cf724064fc49b307e08a31e1e04ced609 (diff)
downloadeclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.zip
eclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.tar.gz
eclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.tar.bz2
Pass the correct flags to drawBufferredText in Label#wmDrawChild.
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
index bc811f9..22ab3c0 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
@@ -706,8 +706,7 @@ LRESULT wmDrawChild (int /*long*/ wParam, int /*long*/ lParam) {
} else {
int /*long*/ hFont = OS.SendMessage(this.handle, OS.WM_GETFONT, 0, 0);
int color = 0x000000;
- int dwFlags = 0;
- drawBufferredText(struct.hDC, buffer, rect, hFont, color, dwFlags);
+ drawBufferredText(struct.hDC, buffer, rect, hFont, color, flags);
}
}
}