can-close
original commit: 1cb2df4d064c7badd4f263d09a217809c9e5497b
This commit is contained in:
parent
88d66a2a98
commit
6086973b8b
|
@ -90,6 +90,8 @@
|
||||||
(send main-sd-button enable #f)
|
(send main-sd-button enable #f)
|
||||||
(send cb-frame center)
|
(send cb-frame center)
|
||||||
(send cb-frame show #t)))])
|
(send cb-frame show #t)))])
|
||||||
|
(define/override can-close?
|
||||||
|
(lambda () (shutdown-dialog) #f))
|
||||||
(super-instantiate ())
|
(super-instantiate ())
|
||||||
(set! panel
|
(set! panel
|
||||||
(instantiate vertical-panel% ()
|
(instantiate vertical-panel% ()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user