racket/gui Win32: fix use-before-definition problem for choice%

Closes PR 14475
This commit is contained in:
Matthew Flatt 2014-04-27 20:51:35 -06:00
parent 2b948c6250
commit 9cb652dd0e

View File

@ -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?