After activating a default button, another button becomes the default.
When the attached program is run, button 2 is initially the default item: when the enter-key is pressed, an info window appears, saying "Button 2". After closing the info window and pressing the enter-key again, an info window appears, saying "Button 1".
Button 1 has become the default, while button 2 was set as default, using unsafeDefaultItem.
|wxHaskell||0.90.1.0 (currently in Github repository)|
Log in to post a comment.