racket/gui: fix a mzscheme->racket/base issue

This commit is contained in:
Asumu Takikawa 2012-05-26 16:22:33 -04:00
parent 81d13ee7ed
commit a38e6a19ab

View File

@ -247,7 +247,9 @@
(dynamic-wind
void
(lambda ()
(set! port (open-output-file file (if text-mode? 'text 'binary) 'truncate/replace))
(set! port (open-output-file file
#:mode (if text-mode? 'text 'binary)
#:exists 'truncate/replace))
(wx:file-creator-and-type file #"mReD" (if text? #"TEXT" #"WXME"))
(wx:begin-busy-cursor)
(dynamic-wind