summaryrefslogtreecommitdiff
path: root/redo/label_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/label_windows.go')
-rw-r--r--redo/label_windows.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/redo/label_windows.go b/redo/label_windows.go
index d87f02e..a37bc9d 100644
--- a/redo/label_windows.go
+++ b/redo/label_windows.go
@@ -57,7 +57,8 @@ func (l *label) settextlen(len C.LONG) {
}
func (l *label) setParent(p *controlParent) {
- basesetParent(l, p)
+ C.controlSetParent(l.hwnd(), p.c.hwnd)
+ // don't increment p.c.nchildren here because Labels aren't tab stops
}
func (l *label) allocate(x int, y int, width int, height int, d *sizing) []*allocation {