summaryrefslogtreecommitdiff
path: root/redo/table_windows.go
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-13 22:38:39 -0400
committerPietro Gagliardi <[email protected]>2014-08-13 22:38:39 -0400
commitab0bb32b1bb05a3ee0ac66bc47c56715bdfe2265 (patch)
tree0f0fbe687117c8bfe2d28a7d3449d3c41d73e59c /redo/table_windows.go
parentc9f7a2191afe7d25789588e57c1d830894f4aecc (diff)
Made Tables tab stops on Windows.
Diffstat (limited to 'redo/table_windows.go')
-rw-r--r--redo/table_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/redo/table_windows.go b/redo/table_windows.go
index 3a7f265..4e6a0e2 100644
--- a/redo/table_windows.go
+++ b/redo/table_windows.go
@@ -21,7 +21,7 @@ type table struct {
func finishNewTable(b *tablebase, ty reflect.Type) Table {
t := &table{
_hwnd: C.newControl(C.xWC_LISTVIEW,
- C.LVS_REPORT | C.LVS_OWNERDATA | C.LVS_NOSORTHEADER | C.LVS_SHOWSELALWAYS | C.WS_HSCROLL | C.WS_VSCROLL,
+ C.LVS_REPORT | C.LVS_OWNERDATA | C.LVS_NOSORTHEADER | C.LVS_SHOWSELALWAYS | C.WS_HSCROLL | C.WS_VSCROLL | C.WS_TABSTOP,
C.WS_EX_CLIENTEDGE), // WS_EX_CLIENTEDGE without WS_BORDER will show the canonical visual styles border (thanks to MindChild in irc.efnet.net/#winprog)
tablebase: b,
}