summaryrefslogtreecommitdiff
path: root/newctrl/control.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-18 12:47:19 -0400
committerPietro Gagliardi <[email protected]>2014-10-18 12:47:19 -0400
commitb1ac28cc938d2de25357328d9da910a84a2cc8cc (patch)
treed34d26f0022dd0e9d9c7179bd59b1c4dbe7b6942 /newctrl/control.go
parent0f6e65188af0c4b1d3e4dff17ceb96bbd8ebb271 (diff)
Fixed parenting weirdnesses.
Diffstat (limited to 'newctrl/control.go')
-rw-r--r--newctrl/control.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/newctrl/control.go b/newctrl/control.go
index 3a03a54..34e5c84 100644
--- a/newctrl/control.go
+++ b/newctrl/control.go
@@ -17,6 +17,8 @@ type controlbase struct {
fnTabStops func() int
}
+// children should not use the same name as these, otherwise weird things will happen
+
func (c *controlbase) setParent(p *controlParent) {
c.fsetParent(p)
}