Fixed initial uiWindow child size. Tabs work fine anyway!
This commit is contained in:
parent
9a7ddf0e38
commit
b2d739a636
|
@ -131,6 +131,8 @@ static void windowShow(uiControl *c)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
w->shownOnce = TRUE;
|
w->shownOnce = TRUE;
|
||||||
|
// make sure the bin is the correct size
|
||||||
|
SendMessage(w->hwnd, msgUpdateChild, 0, 0);
|
||||||
ShowWindow(w->hwnd, nCmdShow);
|
ShowWindow(w->hwnd, nCmdShow);
|
||||||
if (UpdateWindow(w->hwnd) == 0)
|
if (UpdateWindow(w->hwnd) == 0)
|
||||||
logLastError("error calling UpdateWindow() after showing uiWindow for the first time in windowShow()");
|
logLastError("error calling UpdateWindow() after showing uiWindow for the first time in windowShow()");
|
||||||
|
|
Loading…
Reference in New Issue