summaryrefslogtreecommitdiff
path: root/redo/window_darwin.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-07-25 23:11:41 -0400
committerPietro Gagliardi <[email protected]>2014-07-25 23:11:41 -0400
commitee5c6ff8461d5147fa74205f21b7fce6e5606d74 (patch)
tree942d428fd6ceacececeb6ca23d50206f59abdd15 /redo/window_darwin.go
parent41f3ef292f2e0d70beb3722004c968881ca0fae2 (diff)
Implemented Tab on Mac OS X. Woo! I'll need to add justification for what I'm doing with the whole recursive call thing; when I get confirmation from the GTK+ camp I will.
Diffstat (limited to 'redo/window_darwin.go')
-rw-r--r--redo/window_darwin.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go
index 90679bc..16f8b9f 100644
--- a/redo/window_darwin.go
+++ b/redo/window_darwin.go
@@ -35,7 +35,7 @@ func newWindow(title string, width int, height int, control Control) *window {
w.container.beginResize = w.beginResize
C.windowSetDelegate(id, unsafe.Pointer(w))
w.child = control
- w.child.setParent(w.id)
+ w.child.setParent(C.windowContentView(w.id))
return w
}