win32: fix window-enabling problems
Closes PR 11769 original commit: cae005a6a2e052d1867c63694dca059a39b5dd40
This commit is contained in:
parent
ffaf986cdc
commit
c91f9950cc
|
@ -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