device access
authorClaus Gittinger <cg@exept.de>
Sat, 02 Apr 2016 17:11:06 +0200
changeset 4998 dc55b3e01957
parent 4997 ce7b2fcf39d8
child 4999 e0111330133e
device access
ProgressIndicator.st
--- a/ProgressIndicator.st	Sat Apr 02 17:10:55 2016 +0200
+++ b/ProgressIndicator.st	Sat Apr 02 17:11:06 2016 +0200
@@ -1163,7 +1163,7 @@
 
     bgColor := styleSheet colorAt:'progressIndicator.viewBackground' default:Color white.
     fgColor := styleSheet colorAt:'progressIndicator.foregroundColor' default:Color blue.
-    fgColor := fgColor onDevice:self graphicsDevice.
+    fgColor := fgColor onDevice:device.
 
     showPercentage := true.
 !
@@ -1729,10 +1729,10 @@
 !ProgressIndicator class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg2/ProgressIndicator.st,v 1.79 2015-02-28 23:44:28 cg Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg2/ProgressIndicator.st,v 1.79 2015-02-28 23:44:28 cg Exp $'
+    ^ '$Header$'
 ! !