summaryrefslogtreecommitdiff
path: root/table_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'table_windows.go')
-rw-r--r--table_windows.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/table_windows.go b/table_windows.go
index 362a49b..7bd9df0 100644
--- a/table_windows.go
+++ b/table_windows.go
@@ -38,6 +38,8 @@ func finishNewTable(b *tablebase, ty reflect.Type) Table {
t.chainresize = t.fresize
t.fresize = t.xresize
C.setTableSubclass(t.hwnd, unsafe.Pointer(t))
+ // TODO listview didn't need this; someone mentioned (TODO) it uses the small caption font???
+ C.controlSetControlFont(t.hwnd)
for i := 0; i < ty.NumField(); i++ {
coltype := C.WPARAM(C.tableColumnText)
switch {