diff options
-rwxr-xr-x | bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java | 4 |
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) { |