win32: fix window-enabling problems
Closes PR 11769
This commit is contained in:
parent
2bceaec03a
commit
cae005a6a2
|
@ -138,6 +138,9 @@
|
||||||
(init style
|
(init style
|
||||||
[extra-hwnds null])
|
[extra-hwnds null])
|
||||||
|
|
||||||
|
(define enabled? #t)
|
||||||
|
(define parent-enabled? #t)
|
||||||
|
|
||||||
(super-new)
|
(super-new)
|
||||||
|
|
||||||
(define eventspace (if parent
|
(define eventspace (if parent
|
||||||
|
@ -271,8 +274,6 @@
|
||||||
(define/public (get-handle) hwnd)
|
(define/public (get-handle) hwnd)
|
||||||
(define/public (get-client-handle) (get-content-hwnd))
|
(define/public (get-client-handle) (get-content-hwnd))
|
||||||
|
|
||||||
(define enabled? #t)
|
|
||||||
(define parent-enabled? #t)
|
|
||||||
(define/public (enable on?)
|
(define/public (enable on?)
|
||||||
(unless (eq? enabled? (and on? #t))
|
(unless (eq? enabled? (and on? #t))
|
||||||
(atomically
|
(atomically
|
||||||
|
|
Loading…
Reference in New Issue
Block a user