diff options
author | Steve Northover <steve> | 2005-07-19 22:42:21 +0000 |
---|---|---|
committer | Steve Northover <steve> | 2005-07-19 22:42:21 +0000 |
commit | 5308f1a3556f4dc584e60e1811726ffce0b88698 (patch) | |
tree | a9518da30d63307a0557da62e9ff8d67436ac3b3 /bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java | |
parent | 8f5dd8cf69b85947859dad3e5b550a2ca537b1ed (diff) | |
download | eclipse.platform.swt-5308f1a3556f4dc584e60e1811726ffce0b88698.tar.gz eclipse.platform.swt-5308f1a3556f4dc584e60e1811726ffce0b88698.tar.xz eclipse.platform.swt-5308f1a3556f4dc584e60e1811726ffce0b88698.zip |
80465 - XP theme - label issues with tab folder
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java')
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java | 22 |
1 files changed, 0 insertions, 22 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 3fb0eb85ae..01c3cb26b7 100755 --- 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 @@ -429,28 +429,6 @@ LRESULT WM_SIZE (int wParam, int lParam) { return result; } -LRESULT WM_UPDATEUISTATE (int wParam, int lParam) { - LRESULT result = super.WM_UPDATEUISTATE (wParam, lParam); - /* - * Feature in Windows. When WM_UPDATEUISTATE is sent to - * a static control, it sends WM_CTLCOLORSTATIC to get the - * foreground and background. If any drawing happens in - * WM_CTLCOLORBTN, it overwrites the contents of the control. - * The fix is draw the static without drawing the background - * and avoid the group window proc. - */ - if ((state & TRANSPARENT) != 0) { - if (OS.COMCTL32_MAJOR >= 6 && OS.IsAppThemed ()) { - Control control = findThemeControl (); - if (control != null) { - OS.InvalidateRect (handle, null, false); - return LRESULT.ZERO; - } - } - } - return result; -} - LRESULT wmDrawChild (int wParam, int lParam) { DRAWITEMSTRUCT struct = new DRAWITEMSTRUCT (); OS.MoveMemory (struct, lParam, DRAWITEMSTRUCT.sizeof); |