func (c *controlSingleHWNDWithText) setText(text string) { t := toUTF16(text) C.setWindowText(c.hwnd, t) c.textlen = C.controlTextLength(c.hwnd, t) }
func baseSetText(c textableControl, text string) { hwnd := c.hwnd() t := toUTF16(text) C.setWindowText(hwnd, t) c.settextlen(C.controlTextLength(hwnd, t)) }