Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRaymond Lam2012-01-08 05:57:07 +0000
committerFelipe Heidrich2012-01-13 18:39:59 +0000
commit7a1299e262185c88e376cd20f10620839ad6c37d (patch)
treefe89761c1592c1154146ca72f5846a38efb12d8f
parent5bc5d81cf724064fc49b307e08a31e1e04ced609 (diff)
downloadeclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.tar.gz
eclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.tar.xz
eclipse.platform.swt-7a1299e262185c88e376cd20f10620839ad6c37d.zip
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 bc811f969b..22ab3c0ae5 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);
}
}
}

Back to the top