From 5094f089942fa5d42587a9c0d21eb58a64f01022 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 1 May 2015 10:16:02 -0400 Subject: [PATCH] Fixed build errors from the previous commit. --- windows/tab.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/tab.c b/windows/tab.c index e6b6e060..dc439973 100644 --- a/windows/tab.c +++ b/windows/tab.c @@ -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()");