summaryrefslogtreecommitdiff
path: root/redo/table_windows.go
diff options
context:
space:
mode:
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 4711e37..8dd9049 100644
--- a/redo/table_windows.go
+++ b/redo/table_windows.go
@@ -19,7 +19,7 @@ func finishNewTable(b *tablebase, ty reflect.Type) Table {
t := &table{
widgetbase: newWidget(C.xWC_LISTVIEW,
C.LVS_REPORT | C.LVS_OWNERDATA | C.LVS_NOSORTHEADER | C.LVS_SHOWSELALWAYS | C.WS_HSCROLL | C.WS_VSCROLL,
- 0), // TODO WS_EX_CLIENTEDGE?
+ 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,
}
C.setTableSubclass(t.hwnd, unsafe.Pointer(&t))