fix doc typo

This commit is contained in:
Matthew Flatt 2012-06-25 23:29:25 -06:00
parent b38bf09e4e
commit a8a0835fc1

View File

@ -44,8 +44,8 @@ The built-in classes provide various mechanisms for handling GUI
(new button% [parent frame]
[label "Click Me"]
(code:comment @#,t{Callback procedure for a button click:})
(callback (lambda (button event)
(send msg #,(method message% set-label) "Button click"))))
[callback (lambda (button event)
(send msg #,(method message% set-label) "Button click"))])
(code:comment @#,t{Show the frame by calling its @racket[show] method})
(send frame #,(:: top-level-window<%> show) #t)