diff options
| author | Pietro Gagliardi <[email protected]> | 2014-10-16 13:55:05 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-10-16 13:55:05 -0400 |
| commit | 3316386c2a4e83c50d1c3fe20d9e0d1a9c81fd53 (patch) | |
| tree | 181b768f30d1fd80799329099df78c95ef0e4e80 | |
| parent | b27671740d0685aecfc57c9e3e942d424a0ad35e (diff) | |
Fixed a small error in group_windows.go.
| -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 } |
