summaryrefslogtreecommitdiff
path: root/wintable/new/api.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-09 20:47:03 -0500
committerPietro Gagliardi <[email protected]>2014-12-09 20:47:03 -0500
commitcb199cca7795565efd5b434e8507a59db589fce1 (patch)
tree5825028a9fd02577b805dc86c481b7f36a5a47de /wintable/new/api.h
parentdd37255fa1362073efa9bf91287456cba9ad4cf5 (diff)
Started readding hscroll code; just recomputeHScroll() for now.
Diffstat (limited to 'wintable/new/api.h')
-rw-r--r--wintable/new/api.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/new/api.h b/wintable/new/api.h
index 6ebf800..d3ec3f7 100644
--- a/wintable/new/api.h
+++ b/wintable/new/api.h
@@ -9,6 +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);
}
HANDLER(apiHandlers)