summaryrefslogtreecommitdiff
path: root/radiobuttons.go
diff options
context:
space:
mode:
Diffstat (limited to 'radiobuttons.go')
-rw-r--r--radiobuttons.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/radiobuttons.go b/radiobuttons.go
index bbf28d3..59b5665 100644
--- a/radiobuttons.go
+++ b/radiobuttons.go
@@ -24,7 +24,7 @@ func NewRadioButtons() *RadioButtons {
r.r = C.uiNewRadioButtons()
- C.uiRadioButtonsOnChanged(r.r, C.doRadioButtonsOnChanged, nil)
+ C.uiRadioButtonsOnSelected(r.r, C.doRadioButtonsOnSelected, nil)
r.ControlBase = NewControlBase(r, uintptr(unsafe.Pointer(r.r)))
return r