diff options
author | Felipe Heidrich <fheidric> | 2009-10-05 18:06:04 +0000 |
---|---|---|
committer | Felipe Heidrich <fheidric> | 2009-10-05 18:06:04 +0000 |
commit | edc63054aecc4877740e7c9343d93f03b30b918e (patch) | |
tree | fd8720c8973c6c40e9b8b7de4ee3e5ef8849ebd8 | |
parent | 72e3e81c2dfdc15c1393cd52eb5e1e324eee9428 (diff) | |
download | eclipse.platform.swt-edc63054aecc4877740e7c9343d93f03b30b918e.tar.gz eclipse.platform.swt-edc63054aecc4877740e7c9343d93f03b30b918e.tar.xz eclipse.platform.swt-edc63054aecc4877740e7c9343d93f03b30b918e.zip |
Bug 291354 - [Widgets] Windows 7: small indeterminate ProgressBar looks broken
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java index ea29f26be4..8f27741a4e 100755 --- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java @@ -420,7 +420,7 @@ LRESULT WM_SIZE (int /*long*/ wParam, int /*long*/ lParam) { * NOTE: This only happens on Window XP. */ if ((style & SWT.INDETERMINATE) != 0) { - if (OS.COMCTL32_MAJOR >= 6) { + if (OS.WIN32_VERSION == OS.VERSION (5,1) || (OS.COMCTL32_MAJOR >= 6 && !OS.IsAppThemed())) { forceResize (); RECT rect = new RECT (); OS.GetClientRect (handle, rect); |