summaryrefslogtreecommitdiff
path: root/toolkit/andlabs/checkbox.go
diff options
context:
space:
mode:
Diffstat (limited to 'toolkit/andlabs/checkbox.go')
-rw-r--r--toolkit/andlabs/checkbox.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/toolkit/andlabs/checkbox.go b/toolkit/andlabs/checkbox.go
index 4c690c1..4c37fd6 100644
--- a/toolkit/andlabs/checkbox.go
+++ b/toolkit/andlabs/checkbox.go
@@ -6,7 +6,7 @@ import (
)
func (p *node) newCheckbox(n *node) {
- newt := new(andlabsT)
+ newt := new(guiWidget)
log(debugToolkit, "newCheckbox()", n.Name, n.WidgetType)
newt.uiCheckbox = ui.NewCheckbox(n.Text)
@@ -22,6 +22,6 @@ func (p *node) newCheckbox(n *node) {
p.place(n)
}
-func (t *andlabsT) checked() bool {
+func (t *guiWidget) checked() bool {
return t.uiCheckbox.Checked()
}