Re: [racket] list-box%: cannot click on first item

2013-09-13 Thread Laurent
On Fri, Sep 13, 2013 at 2:53 AM, Matthew Flatt wrote: > When I run the program, the first item is selected initially on > Unix/Gtk. Clicking the item doesn't change the selection, and so the > callback isn't triggered. > > If I add > > (send lb select 0 #f) > Oh, good, I had tried different thi

Re: [racket] list-box%: cannot click on first item

2013-09-12 Thread Matthew Flatt
When I run the program, the first item is selected initially on Unix/Gtk. Clicking the item doesn't change the selection, and so the callback isn't triggered. If I add (send lb select 0 #f) before showing the frame, then the first item is not selected when the frame appears, and clicking the fi