Applied previous commit's change to the test program.

This commit is contained in:
Pietro Gagliardi 2014-08-03 09:13:25 -04:00
parent ac5c577507
commit 585f5f5b62
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,7 @@ func (tw *testwin) make(done chan struct{}) {
})
tw.t.Append("Button", tw.b)
tw.c = NewCheckbox("You Should Now See Me Instead")
tw.c.OnClicked(func() {
tw.c.OnToggled(func() {
tw.w.SetTitle(fmt.Sprint(tw.c.Checked()))
})
tw.t.Append("Checkbox", tw.c)