From 0356d0fd7046071c1320db7340a14df54c79cb0f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 1 Aug 2014 23:36:13 -0400 Subject: Migrated the Windows backend to use sizer. --- redo/window_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'redo/window_windows.go') 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 { -- cgit v1.2.3