diff options
| author | Pietro Gagliardi <[email protected]> | 2015-02-18 03:45:50 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2015-02-18 03:45:50 -0500 |
| commit | c1256afd017d48735e55da60b31e3f5b93c55e72 (patch) | |
| tree | 49bf82f229e49a2e70c37db98daed4e433adf13c /table_windows.go | |
| parent | 8730cbf1c4acf658213c362c6f6bd86a7816355c (diff) | |
Fixed Windows Table font.
Diffstat (limited to 'table_windows.go')
| -rw-r--r-- | table_windows.go | 2 |
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 { |
