class: UIPainter
authorClaus Gittinger <cg@exept.de>
Wed, 05 Feb 2014 11:04:49 +0100
changeset 3078 3dafd923e1e5
parent 3077 48211023a3c7
child 3079 25a38a666be1
class: UIPainter ot is bad to return the value from a setter (instead of the receiver); makes cascades error prone
UIPainter.st
--- a/UIPainter.st	Mon Feb 03 11:43:14 2014 +0100
+++ b/UIPainter.st	Wed Feb 05 11:04:49 2014 +0100
@@ -6159,7 +6159,7 @@
 windowSpecClass:aClass
     "set the default windowSpecClass"
 
-    ^ windowSpecClass := aClass
+    windowSpecClass := aClass
 ! !
 
 !UIPainter::TreeView methodsFor:'accessing-property'!