Fixed build errors from the previous commit.
This commit is contained in:
parent
5ad2bfd6f0
commit
5094f08994
|
@ -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()");
|
||||
|
|
Loading…
Reference in New Issue