clear bitmap created for a snip->cached-image-snip conversion

svn: r15656
This commit is contained in:
Matthew Flatt 2009-08-01 16:17:35 +00:00
parent 32353b76d2
commit 2850d101f3

View File

@ -295,6 +295,7 @@
(inexact->exact (floor w))
(inexact->exact (floor h)))]
[bdc (make-object bitmap-dc% bmp)])
(send bdc clear)
(send snp draw bdc 0 0 0 0 w h 0 0 'no-caret)
(send bdc set-bitmap #f)
(bitmaps->cache-image-snip bmp