svn: r14818

This commit is contained in:
Robby Findler 2009-05-14 19:23:24 +00:00
parent 40467a005e
commit ad856384a3

View File

@ -56,6 +56,10 @@
[alternate-bitmap bitmap]
[vertical-tight? #f])
(when (and (is-a? label bitmap%)
(not (send label ok?)))
(error 'switchable-button% "label bitmap is not ok?"))
(define/override (get-label) label)
(define disable-bitmap (make-dull-mask bitmap))