Fixed a small error in group_windows.go.

This commit is contained in:
Pietro Gagliardi 2014-10-16 13:55:05 -04:00
parent b27671740d
commit 3316386c2a
1 changed files with 1 additions and 1 deletions

View File

@ -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
}