summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
Diffstat (limited to 'button.go')
-rw-r--r--button.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/button.go b/button.go
index d1b286c..39c2da1 100644
--- a/button.go
+++ b/button.go
@@ -21,7 +21,7 @@ func NewButton(text string) (b *Button) {
return &Button{
sysData: mksysdata(c_button),
initText: text,
- Clicked: make(chan struct{}),
+ Clicked: Event(),
}
}