class: EditField
authorStefan Vogel <sv@exept.de>
Tue, 18 Feb 2014 17:10:21 +0100
changeset 4910 eb2895fdb1d9
parent 4909 5c73a23d7965
child 4911 fb84639b995e
class: EditField changed: #updateStyleCache fetch color via method send
EditField.st
--- a/EditField.st	Tue Feb 18 17:05:42 2014 +0100
+++ b/EditField.st	Tue Feb 18 17:10:21 2014 +0100
@@ -800,8 +800,8 @@
                        #'editField.selectionBackgroundColor'
                        #'editField.font')>
 
-    DefaultForegroundColor := StyleSheet colorAt:'editField.foregroundColor' default:Black.
-    DefaultBackgroundColor := StyleSheet colorAt:'editField.backgroundColor' default:White.
+    DefaultForegroundColor := StyleSheet colorAt:'editField.foregroundColor' default:Color black.
+    DefaultBackgroundColor := StyleSheet colorAt:'editField.backgroundColor' default:Color white.
     DefaultSelectionForegroundColor := StyleSheet colorAt:'editField.selectionForegroundColor' default:nil.
     DefaultSelectionForegroundColor isNil ifTrue:[
         DefaultSelectionForegroundColor := StyleSheet colorAt:'selection.hilightForegroundColor' default:DefaultBackgroundColor.
@@ -2342,10 +2342,10 @@
 !EditField class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.226 2014-02-18 14:33:01 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.227 2014-02-18 16:10:21 stefan Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.226 2014-02-18 14:33:01 stefan Exp $'
+    ^ '$Header: /cvs/stx/stx/libwidg/EditField.st,v 1.227 2014-02-18 16:10:21 stefan Exp $'
 ! !