summaryrefslogtreecommitdiff
path: root/redo/tab_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-12 17:18:45 -0400
committerPietro Gagliardi <[email protected]>2014-08-12 17:18:45 -0400
commit5523cdb22a6aad761ed4386ecd60143a553a4f02 (patch)
treec71fff105ca086b793568141ab0102ab409b8b02 /redo/tab_windows.go
parent2146ac2af3209f70df8c73e16d82bf866ea19c0b (diff)
Implemented tab stopping.
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,