svn: r14818
This commit is contained in:
parent
40467a005e
commit
ad856384a3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user