summaryrefslogtreecommitdiff
path: root/wintable/new/header.h
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-12-10 14:07:14 -0500
committerPietro Gagliardi <[email protected]>2014-12-10 14:07:14 -0500
commit4e21ee8b115c08a200d7b4f6dd97c4746ded59b4 (patch)
treea0264490354d6cd343fb09c62a607a31ad007d2b /wintable/new/header.h
parent395521b832acb7f5133f1b2b1920cd31734ed585 (diff)
Added headerHeight to the new Table.
Diffstat (limited to 'wintable/new/header.h')
-rw-r--r--wintable/new/header.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/wintable/new/header.h b/wintable/new/header.h
index c89b506..b992235 100644
--- a/wintable/new/header.h
+++ b/wintable/new/header.h
@@ -37,6 +37,7 @@ static void repositionHeader(struct table *t)
// see above on showing the header here instead of in the CreateWindowExW() call
wp.flags | SWP_SHOWWINDOW) == 0)
panic("error repositioning Table header");
+ t->headerHeight = wp.cy;
}
static void headerAddColumn(struct table *t, WCHAR *name)