racket/gui Win32: fix use-before-definition problem for choice%
Closes PR 14475
This commit is contained in:
parent
2b948c6250
commit
9cb652dd0e
|
@ -46,6 +46,8 @@
|
|||
|
||||
(SendMessageW hwnd CB_SETCURSEL 0 0)
|
||||
|
||||
(define choice-dropped? #f)
|
||||
|
||||
(super-new [callback cb]
|
||||
[parent parent]
|
||||
[hwnd hwnd]
|
||||
|
@ -61,8 +63,6 @@
|
|||
(set-size #f #f w (* h 8))))
|
||||
|
||||
|
||||
(define choice-dropped? #f)
|
||||
|
||||
(define/override (ctlproc w msg wParam lParam default)
|
||||
(cond
|
||||
[(and choice-dropped?
|
||||
|
|
Loading…
Reference in New Issue
Block a user