win32: fix window-enabling problems

Closes PR 11769
This commit is contained in:
Matthew Flatt 2011-04-14 14:50:03 -06:00
parent 2bceaec03a
commit cae005a6a2

View File

@ -138,6 +138,9 @@
(init style
[extra-hwnds null])
(define enabled? #t)
(define parent-enabled? #t)
(super-new)
(define eventspace (if parent
@ -271,8 +274,6 @@
(define/public (get-handle) hwnd)
(define/public (get-client-handle) (get-content-hwnd))
(define enabled? #t)
(define parent-enabled? #t)
(define/public (enable on?)
(unless (eq? enabled? (and on? #t))
(atomically