original commit: c6987f1218e74c1b6bd0a1ae3cd159c719c794e8
This commit is contained in:
Robby Findler 2002-11-07 03:46:53 +00:00
parent ee1377af03
commit 978f2f96d6
2 changed files with 4 additions and 6 deletions

View File

@ -131,8 +131,9 @@
(rename [super-show show])
(define/override (show on?)
(when on?
(send (group:get-the-frame-group) insert-frame this))
(if on?
(send (group:get-the-frame-group) insert-frame this)
(send (group:get-the-frame-group) remove-frame this))
(super-show on?))
(define/override (can-exit?)
@ -160,7 +161,6 @@
(send (group:get-the-frame-group) frame-shown/hidden this)
(super-on-superwindow-show shown?))
(rename [super-can-close? can-close?]
[super-on-close on-close]
[super-on-focus on-focus])

View File

@ -192,9 +192,7 @@
(send mdi-parent show #t))
mdi-parent)]
(define (get-frames)
(filter (lambda (x) (send x is-shown?))
(map frame-frame frames)))
(define (get-frames) (map frame-frame frames))
[define frame-label-changed
(lambda (frame)