diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-14 13:05:31 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-14 13:05:31 -0400 |
| commit | acbe70b4e5688df23e04ac0e55d8515252a52275 (patch) | |
| tree | 4ad3a6cd2cb7e909dbd6437ffa6b852b09f1561b /redo/label_windows.go | |
| parent | 2c8bb7bc6d3b5614d53de957b4dca025c53a9cee (diff) | |
Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend.
Diffstat (limited to 'redo/label_windows.go')
| -rw-r--r-- | redo/label_windows.go | 3 |
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 { |
