From b2d739a636cecd0030ce86ecea6023f2a7ae5e26 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 29 Apr 2015 02:31:24 -0400 Subject: [PATCH] Fixed initial uiWindow child size. Tabs work fine anyway! --- new/windows/window.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/new/windows/window.c b/new/windows/window.c index c8618d46..3de6fdd6 100644 --- a/new/windows/window.c +++ b/new/windows/window.c @@ -131,6 +131,8 @@ static void windowShow(uiControl *c) return; } w->shownOnce = TRUE; + // make sure the bin is the correct size + SendMessage(w->hwnd, msgUpdateChild, 0, 0); ShowWindow(w->hwnd, nCmdShow); if (UpdateWindow(w->hwnd) == 0) logLastError("error calling UpdateWindow() after showing uiWindow for the first time in windowShow()");