protect against redraw requests before the canvas is properly sized
svn: r9654
This commit is contained in:
parent
b53e01c460
commit
665e4c07bf
|
@ -95,8 +95,8 @@
|
||||||
(send dc draw-rounded-rectangle
|
(send dc draw-rounded-rectangle
|
||||||
margin
|
margin
|
||||||
margin
|
margin
|
||||||
(- cw margin margin)
|
(max 0 (- cw margin margin))
|
||||||
(- ch margin margin))
|
(max 0 (- ch margin margin)))
|
||||||
(send dc set-alpha alpha)
|
(send dc set-alpha alpha)
|
||||||
(send dc set-font normal-control-font)
|
(send dc set-font normal-control-font)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user