diff options
Diffstat (limited to 'redo/window_darwin.go')
| -rw-r--r-- | redo/window_darwin.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/window_darwin.go b/redo/window_darwin.go index 80d1a51..8393cf7 100644 --- a/redo/window_darwin.go +++ b/redo/window_darwin.go @@ -15,7 +15,7 @@ type window struct { closing *event - *container + *sizer } func newWindow(title string, width int, height int, control Control) *window { @@ -26,7 +26,7 @@ func newWindow(title string, width int, height int, control Control) *window { w := &window{ id: id, closing: newEvent(), - container: new(container), + sizer: new(sizer), } C.windowSetDelegate(id, unsafe.Pointer(w)) w.child = control |
