summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-28 11:17:44 -0400
committerPietro Gagliardi <[email protected]>2014-08-28 11:17:44 -0400
commit1d4848e109739583c6fa7e4dd79d4307b393c2b5 (patch)
tree937d38aed56f871856995d2d07def335495a6220
parentb32573a4fe30fc23b1867ebb1ef473546dfcd4f0 (diff)
Made Groups on Windows control parents.
-rw-r--r--redo/group_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/group_windows.go b/redo/group_windows.go
index 43f6fec..fda95e3 100644
--- a/redo/group_windows.go
+++ b/redo/group_windows.go
@@ -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),