From 3316386c2a4e83c50d1c3fe20d9e0d1a9c81fd53 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Thu, 16 Oct 2014 13:55:05 -0400 Subject: Fixed a small error in group_windows.go. --- newctrl/group_windows.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newctrl') diff --git a/newctrl/group_windows.go b/newctrl/group_windows.go index 9a025c5..6c68d9d 100644 --- a/newctrl/group_windows.go +++ b/newctrl/group_windows.go @@ -23,7 +23,7 @@ func newGroup(text string, control Control) Group { g.fresize = g.resize g.SetText(text) C.controlSetControlFont(g.hwnd) - g.setParent(&controlParent{g.hwnd}) + control.setParent(&controlParent{g.hwnd}) return g } -- cgit v1.2.3