Fixed build errors from the previous commit.

This commit is contained in:
Pietro Gagliardi 2015-05-01 10:16:02 -04:00
parent 5ad2bfd6f0
commit 5094f08994
1 changed files with 1 additions and 1 deletions

View File

@ -242,7 +242,7 @@ uiTab *uiNewTab(void)
p.onDestroyData = t;
uiWindowsNewControl(uiControl(t), &p);
t->hwnd = HWND(t);
t->hwnd = (HWND) uiControlHandle(uiControl(t));
if ((*fv_SetWindowSubclass)(t->hwnd, tabSubProc, 0, (DWORD_PTR) t) == FALSE)
logLastError("error subclassing Tab to give it its own resize handler in uiNewTab()");