func (c *controlSingleHWND) xsetParent(p *controlParent) { C.controlSetParent(c.hwnd, p.hwnd) }
func (l *label) setParent(p *controlParent) { C.controlSetParent(l.hwnd(), p.c.hwnd) // don't increment p.c.nchildren here because Labels aren't tab stops }
func (c *container) setParent(hwnd C.HWND) { C.controlSetParent(c.hwnd, hwnd) }
func (s *spinbox) setParent(p *controlParent) { C.controlSetParent(s.hwndEdit, p.hwnd) C.controlSetParent(s.hwndUpDown, p.hwnd) }
func basesetParent(c controlPrivate, p *controlParent) { C.controlSetParent(c.hwnd(), p.c.hwnd) p.c.nchildren++ }