summaryrefslogtreecommitdiff
path: root/button.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
committerJeff Carr <[email protected]>2023-04-08 11:06:50 -0500
commitda6a4363226f14aa893be02cb4a73cbf34fd77e7 (patch)
tree8f1f2c5d59e72961c87ff9c9ede0a4b3f2ab9c3f /button.go
parentfa0718ff48a2ac2f8b54aed3060101f159484c86 (diff)
andlabs: the binary tree limps along again
Signed-off-by: Jeff Carr <[email protected]>
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 cd9ef49..d4f1b7a 100644
--- a/button.go
+++ b/button.go
@@ -3,7 +3,7 @@ package gui
import "git.wit.org/wit/gui/toolkit"
func (n *Node) NewButton(name string, custom func()) *Node {
- newNode := n.New(name, toolkit.Button, custom)
+ newNode := n.newNode(name, toolkit.Button, custom)
var a toolkit.Action
a.Name = name