From b1ac28cc938d2de25357328d9da910a84a2cc8cc Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 18 Oct 2014 12:47:19 -0400 Subject: Fixed parenting weirdnesses. --- newctrl/control.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'newctrl/control.go') 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) } -- cgit v1.2.3