summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-16 13:55:05 -0400
committerPietro Gagliardi <[email protected]>2014-10-16 13:55:05 -0400
commit3316386c2a4e83c50d1c3fe20d9e0d1a9c81fd53 (patch)
tree181b768f30d1fd80799329099df78c95ef0e4e80
parentb27671740d0685aecfc57c9e3e942d424a0ad35e (diff)
Fixed a small error in group_windows.go.
-rw-r--r--newctrl/group_windows.go2
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
}