summaryrefslogtreecommitdiff
path: root/newctrl/group_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-10-16 18:41:17 -0400
committerPietro Gagliardi <[email protected]>2014-10-16 18:41:17 -0400
commit3084d0f243299b40ebdaf2f0310f315e4987705a (patch)
treecde5115c080fab26d7958981d426d685b623f759 /newctrl/group_windows.go
parent634ef7d4d9f96a556962167e2cd3d839f8528d5c (diff)
Implemented tabbing properly. Tab order still backwards.
Diffstat (limited to 'newctrl/group_windows.go')
-rw-r--r--newctrl/group_windows.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/newctrl/group_windows.go b/newctrl/group_windows.go
index 6c68d9d..85292c1 100644
--- a/newctrl/group_windows.go
+++ b/newctrl/group_windows.go
@@ -21,6 +21,7 @@ func newGroup(text string, control Control) Group {
}
g.fpreferredSize = g.preferredSize
g.fresize = g.resize
+ g.fnTabStops = control.nTabStops // groupbox itself is not tabbable but the contents might be
g.SetText(text)
C.controlSetControlFont(g.hwnd)
control.setParent(&controlParent{g.hwnd})