ok fixed that bug

This commit is contained in:
Pietro Gagliardi 2014-12-12 16:43:17 -05:00
parent 7f7ea0044e
commit d1bd082b2e
1 changed files with 2 additions and 2 deletions

View File

@ -19,8 +19,8 @@ HANDLER(resizeHandler)
// TODO does wp store the window rect or the client rect? // TODO does wp store the window rect or the client rect?
if (GetClientRect(t->hwnd, &client) == 0) if (GetClientRect(t->hwnd, &client) == 0)
panic("error getting Table client rect in resizeHandler()"); panic("error getting Table client rect in resizeHandler()");
// TODO do this before calling updateTableWidth() (which calls repositionHeader()?)? // TODO do this after calling updateTableWidth() (which calls repositionHeader()?)?
client.top -= t->headerHeight; client.top += t->headerHeight;
// update the width... // update the width...
// this will call repositionHeader(); there's a good reason... (see comments) // this will call repositionHeader(); there's a good reason... (see comments)