summaryrefslogtreecommitdiff
path: root/redo/tab_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'redo/tab_windows.go')
-rw-r--r--redo/tab_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go
index 62da0b4..06f772b 100644
--- a/redo/tab_windows.go
+++ b/redo/tab_windows.go
@@ -23,6 +23,8 @@ type tab struct {
func newTab() Tab {
hwnd := C.newControl(C.xWC_TABCONTROL,
C.TCS_TOOLTIPS | C.WS_TABSTOP,
+ // this is needed to have the tab contents be tab stop
+ // TODO this seems to override WS_TABSTOP
C.WS_EX_CONTROLPARENT)
t := &tab{
_hwnd: hwnd,