diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-18 12:47:19 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-18 12:47:19 -0400 |
| commit | b1ac28cc938d2de25357328d9da910a84a2cc8cc (patch) | |
| tree | d34d26f0022dd0e9d9c7179bd59b1c4dbe7b6942 /newctrl/control.go | |
| parent | 0f6e65188af0c4b1d3e4dff17ceb96bbd8ebb271 (diff) | |
Fixed parenting weirdnesses.
Diffstat (limited to 'newctrl/control.go')
| -rw-r--r-- | newctrl/control.go | 2 |
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) } |
