fix some updating problems, especially under Mac OS X with transparent canvases
svn: r9825 original commit: 52ced1f100243ff6b39f8c9e6da8f04389ebb605
This commit is contained in:
parent
ee53e25c5c
commit
ca5edb8849
|
@ -260,7 +260,7 @@
|
|||
|
||||
(define label-width
|
||||
(if label
|
||||
(let-values ([(w _1 _2 _3) (send dc get-text-extent label)])
|
||||
(let-values ([(w _1 _2 _3) (send dc get-text-extent label button-label-font)])
|
||||
w)
|
||||
0))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user