Removed a TODO in windows/window.c; we need to guard *anyway* (for example, with empty windows).
This commit is contained in:
parent
be747af77c
commit
27e7057672
|
@ -47,8 +47,6 @@ static LRESULT CALLBACK windowWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARA
|
||||||
case WM_WINDOWPOSCHANGED:
|
case WM_WINDOWPOSCHANGED:
|
||||||
if ((wp->flags & SWP_NOSIZE) != 0)
|
if ((wp->flags & SWP_NOSIZE) != 0)
|
||||||
break;
|
break;
|
||||||
// wine sends this early so we have to guard
|
|
||||||
// TODO does real windows?
|
|
||||||
if (w->child != NULL)
|
if (w->child != NULL)
|
||||||
uiControlQueueResize(uiControl(w));
|
uiControlQueueResize(uiControl(w));
|
||||||
return 0;
|
return 0;
|
||||||
|
|
Loading…
Reference in New Issue