From 0e32aff30b87b7dc355c825949e6096ca90e7165 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 15 Oct 2014 13:30:35 -0400 Subject: Fixed compiler errors. --- newctrl/window_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newctrl/window_windows.go') diff --git a/newctrl/window_windows.go b/newctrl/window_windows.go index cfcb091..2286ade 100644 --- a/newctrl/window_windows.go +++ b/newctrl/window_windows.go @@ -100,7 +100,7 @@ func windowResize(data unsafe.Pointer, r *C.RECT) { if w.margined { marginRectDLU(r, marginDialogUnits, marginDialogUnits, marginDialogUnits, marginDialogUnits, d) } - w.child.resize(int(r.left), int (r.top), int(r.right - r.left), int(r.bottom - r.top), TODO) + w.child.resize(int(r.left), int (r.top), int(r.right - r.left), int(r.bottom - r.top), d) } //export windowClosing -- cgit v1.2.3