summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-14 13:05:31 -0400
committerPietro Gagliardi <[email protected]>2014-08-14 13:05:31 -0400
commitacbe70b4e5688df23e04ac0e55d8515252a52275 (patch)
tree4ad3a6cd2cb7e909dbd6437ffa6b852b09f1561b /redo/window_windows.go
parent2c8bb7bc6d3b5614d53de957b4dca025c53a9cee (diff)
Fixed the infinite loop on Tab control dialog message bug(s) on the Windows backend.
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index 3a551c2..60f89d1 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -44,7 +44,7 @@ func newWindow(title string, width int, height int, control Control) *window {
if hresult != C.S_OK {
panic(fmt.Errorf("error setting tab background texture on Window; HRESULT: 0x%X", hresult))
}
- w.container.setParent(&controlParent{w.hwnd})
+ w.container.setParent(w.hwnd)
return w
}