Made Groups on Windows control parents.
This commit is contained in:
parent
b32573a4fe
commit
1d4848e109
|
@ -15,7 +15,7 @@ type group struct {
|
||||||
func newGroup(text string, control Control) Group {
|
func newGroup(text string, control Control) Group {
|
||||||
hwnd := C.newControl(buttonclass,
|
hwnd := C.newControl(buttonclass,
|
||||||
C.BS_GROUPBOX,
|
C.BS_GROUPBOX,
|
||||||
0)
|
C.WS_EX_CONTROLPARENT)
|
||||||
g := &group{
|
g := &group{
|
||||||
_hwnd: hwnd,
|
_hwnd: hwnd,
|
||||||
container: newContainer(control),
|
container: newContainer(control),
|
||||||
|
|
Loading…
Reference in New Issue