diff options
Diffstat (limited to 'newctrl/control_windows.go')
| -rw-r--r-- | newctrl/control_windows.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/newctrl/control_windows.go b/newctrl/control_windows.go index 1da8a60..687092a 100644 --- a/newctrl/control_windows.go +++ b/newctrl/control_windows.go @@ -21,6 +21,10 @@ func newControlSingleHWND(hwnd C.HWND) *controlSingleHWND { c.controlbase = &controlbase{ fsetParent: c.setParent, fresize: c.resize, + fnTabStops: func() int { + // most controls count as one tab stop + return 1 + }, } c.hwnd = hwnd return c |
