Made Groups on Windows control parents.

This commit is contained in:
Pietro Gagliardi 2014-08-28 11:17:44 -04:00
parent b32573a4fe
commit 1d4848e109
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ type group struct {
func newGroup(text string, control Control) Group {
hwnd := C.newControl(buttonclass,
C.BS_GROUPBOX,
0)
C.WS_EX_CONTROLPARENT)
g := &group{
_hwnd: hwnd,
container: newContainer(control),