fix bug with editor-snip% in pasteboard% in editor-canvas% on Windows or X11 (i.e., platforms that use the offscreen bitmap for drawing editors)

svn: r14779

original commit: 5df29ea906da6606aa22bb72569072ae7734b6f1
This commit is contained in:
Matthew Flatt 2009-05-12 12:52:55 +00:00
parent 071d330130
commit ad59a814a3

View File

@ -1299,6 +1299,7 @@
(not ps?))
;; draw to offscreen
(begin
(send s-offscreen set-in-use #t)
(draw (send s-offscreen get-dc) (- left) (- top) left top width height show-caret bg-color)
(send dc draw-bitmap-section