win32: fix window-enabling problems
Closes PR 11769
This commit is contained in:
parent
2bceaec03a
commit
cae005a6a2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user