Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteve Northover2006-12-04 22:28:41 +0000
committerSteve Northover2006-12-04 22:28:41 +0000
commit54d61f64a3cfcc4bdc1e0a884e2f49d46252416e (patch)
tree12cb5c68105c15cd17bd1926b0c6cf21219a7b75 /bundles/org.eclipse.swt
parentc145c09eb181fb318122f93912bb9beaf7f186fc (diff)
downloadeclipse.platform.swt-54d61f64a3cfcc4bdc1e0a884e2f49d46252416e.tar.gz
eclipse.platform.swt-54d61f64a3cfcc4bdc1e0a884e2f49d46252416e.tar.xz
eclipse.platform.swt-54d61f64a3cfcc4bdc1e0a884e2f49d46252416e.zip
only set explorer theme field when on Vista and the theme is enabledv3319
Diffstat (limited to 'bundles/org.eclipse.swt')
-rwxr-xr-xbundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
index e00d61309a..f2c06b9c4e 100755
--- a/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
@@ -3997,9 +3997,9 @@ void setCheckboxImageList () {
void setExplorerTheme (boolean explorerTheme) {
if (EXPLORER_THEME) {
- if (this.explorerTheme == explorerTheme) return;
- this.explorerTheme = explorerTheme;
if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) {
+ if (this.explorerTheme == explorerTheme) return;
+ this.explorerTheme = explorerTheme;
int bits1 = OS.GetWindowLong (handle, OS.GWL_STYLE);
int bits2 = OS.SendMessage (handle, OS.TVM_GETEXTENDEDSTYLE, 0, 0);
if (explorerTheme) {

Back to the top