made the splash screen always be a dialog box
svn: r17810
This commit is contained in:
parent
fee5ed923d
commit
aee10699ae
|
@ -280,19 +280,11 @@
|
||||||
(define quit-on-close? #t)
|
(define quit-on-close? #t)
|
||||||
|
|
||||||
(define splash-tlw%
|
(define splash-tlw%
|
||||||
(case (system-type)
|
(class dialog%
|
||||||
[(unix)
|
(define/augment (on-close)
|
||||||
(class dialog%
|
(when quit-on-close?
|
||||||
(define/augment (on-close)
|
(exit)))
|
||||||
(when quit-on-close?
|
(super-new)))
|
||||||
(exit)))
|
|
||||||
(super-new))]
|
|
||||||
[else
|
|
||||||
(class frame%
|
|
||||||
(define/augment (on-close)
|
|
||||||
(when quit-on-close?
|
|
||||||
(exit)))
|
|
||||||
(super-new [style '(no-resize-border)]))]))
|
|
||||||
|
|
||||||
(define splash-canvas%
|
(define splash-canvas%
|
||||||
(class canvas%
|
(class canvas%
|
||||||
|
|
Loading…
Reference in New Issue
Block a user