diff options
| -rw-r--r-- | newctrl/group_windows.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |
