summaryrefslogtreecommitdiff
path: root/new/windows/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'new/windows/tab.c')
-rw-r--r--new/windows/tab.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/new/windows/tab.c b/new/windows/tab.c
index 09d8abf..d2cbd62 100644
--- a/new/windows/tab.c
+++ b/new/windows/tab.c
@@ -156,7 +156,7 @@ void addPage(uiTab *tt, const char *name, uiControl *child)
// (TODO verify that)
// so we need to manually resize the tab ourselves
// don't use uiUpdateParent() for the same reason as in the TCN_SELCHANGE handler
- SendMessageW(uiControlHWND(c), msgUpdateChild, 0, 0);
+ SendMessageW(hwnd, msgUpdateChild, 0, 0);
}
uiTab *uiNewTab(void)