ViewStyle.st
changeset 7686 6397f8316375
parent 7402 0ade34042e78
child 7711 11ee38c0349c
child 7716 3dba89415c91
--- a/ViewStyle.st	Fri Nov 18 12:20:19 2016 +0100
+++ b/ViewStyle.st	Sat Nov 19 21:04:32 2016 +0100
@@ -278,14 +278,9 @@
 !
 
 isWindowsVistaStyle
-    "answer true if this is a MS-Windows-Vista (or later) style.
-     XXX Currently we simply check the name"
+    ^ (name ? self name) == #winVista
 
-    |nm|
-
-    nm := name ? self name.
-
-    ^ nm == #winVista
+    "Modified (format): / 19-11-2016 / 15:49:48 / cg"
 !
 
 isWindowsXPStyle