merge with stable
authorMads Kiilerich <madski@unity3d.com>
Wed, 06 Feb 2013 13:22:01 +0100
changeset 18562 37010a55922a
parent 18560 acf4a405e440 (current diff)
parent 18561 7365d031d457 (diff)
child 18564 2fefd1170bf2
merge with stable
--- a/contrib/hgk	Mon Feb 04 14:10:09 2013 -0800
+++ b/contrib/hgk	Wed Feb 06 13:22:01 2013 +0100
@@ -109,7 +109,12 @@
 # end of win32 section
 } else {
 
-if {[ttk::style theme use] eq "default"} {
+if {[catch {
+    set theme [ttk::style theme use]
+}]} {
+    set theme $::ttk::currentTheme
+}
+if {$theme eq "default"} {
     ttk::style theme use clam
 }