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.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/redo/tab_windows.go b/redo/tab_windows.go
index 43946b7..1d22887 100644
--- a/redo/tab_windows.go
+++ b/redo/tab_windows.go
@@ -23,9 +23,7 @@ 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; it seems I have to undo making the containers children - http://stackoverflow.com/questions/1153981/tab-order-in-tab-control-with-nested-dialogs-ws-ex-controlparent
- C.WS_EX_CONTROLPARENT)
+ 0) // don't set WS_EX_CONTROLPARENT here; see uitask_windows.c
t := &tab{
_hwnd: hwnd,
}