Fixed Windows Table font.

This commit is contained in:
Pietro Gagliardi 2015-02-18 03:45:50 -05:00
parent 8730cbf1c4
commit c1256afd01
1 changed files with 2 additions and 0 deletions

View File

@ -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 {