summaryrefslogtreecommitdiff
path: root/redo/window_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/window_windows.go')
-rw-r--r--redo/window_windows.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/redo/window_windows.go b/redo/window_windows.go
index 8c64858..341f226 100644
--- a/redo/window_windows.go
+++ b/redo/window_windows.go
@@ -17,7 +17,7 @@ type window struct {
closing *event
- *container
+ *sizer
}
const windowclassname = ""
@@ -37,7 +37,7 @@ func newWindow(title string, width int, height int, control Control) *window {
w := &window{
// hwnd set in WM_CREATE handler
closing: newEvent(),
- container: new(container),
+ sizer: new(sizer),
}
hwnd := C.newWindow(toUTF16(title), C.int(width), C.int(height), unsafe.Pointer(w))
if hwnd != w.hwnd {