on-active Windows fix

original commit: aba7b90a0fafb513e06cf09a4919793ce1bb9c04
This commit is contained in:
Matthew Flatt 1998-12-07 00:34:26 +00:00
parent 48b10fccdc
commit a595ca35ae

View File

@ -1121,7 +1121,10 @@
(set! act-date/milliseconds (current-milliseconds))
(set! active-frame this))
(super-on-activate on?)
(as-exit (lambda () (send (get-mred) on-activate on?)))))])
;; Delay callback to handle Windows bug
(queue-window-callback
this
(lambda () (send (get-mred) on-activate on?)))))])
(sequence (apply super-init mred proxy args))))
(define (make-canvas-glue% %) ; implies make-window-glue%