diff options
| author | Pietro Gagliardi <[email protected]> | 2014-12-10 10:01:16 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-12-10 10:01:16 -0500 |
| commit | a8fed6c28d1c81fbaf5457ad7df905f7de92ec9f (patch) | |
| tree | e6eb2d11e551af2a1bfd7e5466ac8de56523c9f2 /wintable/new/api.h | |
| parent | cb199cca7795565efd5b434e8507a59db589fce1 (diff) | |
Changed from recomputeHScroll() to updateTableWidth() as we will store the table width separately and just use one call to SetScrollInfo() for everything to avoid weirdness.
Diffstat (limited to 'wintable/new/api.h')
| -rw-r--r-- | wintable/new/api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/wintable/new/api.h b/wintable/new/api.h index d3ec3f7..535a940 100644 --- a/wintable/new/api.h +++ b/wintable/new/api.h @@ -9,7 +9,7 @@ static void addColumn(struct table *t, WPARAM wParam, LPARAM lParam) if (t->columnTypes[t->nColumns - 1] >= nTableColumnTypes) panic("invalid column type passed to tableAddColumn"); headerAddColumn(t, (WCHAR *) lParam); - recomputeHScroll(t); + updateTableWidth(t); } HANDLER(apiHandlers) |
