This commit is contained in:
Robby Findler 2011-01-11 13:31:38 -06:00
parent 997a2be686
commit 1b0fdfd0a9

View File

@ -71,7 +71,7 @@
(if immutable?
(error (method-name 'color% 'copy-from) "object is immutable")
(begin (set (color-red c) (color-green c) (color-blue c) (color-alpha c))
this)))
this))))
(define color-red (class-field-accessor color% r))
(define color-green (class-field-accessor color% g))