| author | Raymond Lam | 2012-01-08 00:57:07 (EST) |
|---|---|---|
| committer | Felipe Heidrich | 2012-01-13 13:39:59 (EST) |
| commit | 7a1299e262185c88e376cd20f10620839ad6c37d (patch) (side-by-side diff) | |
| tree | fe89761c1592c1154146ca72f5846a38efb12d8f | |
| parent | 5bc5d81cf724064fc49b307e08a31e1e04ced609 (diff) | |
| download | eclipse.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.java | 3 |
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); } } } |

