Removed a TODO in windows/window.c; we need to guard *anyway* (for example, with empty windows).

This commit is contained in:
Pietro Gagliardi 2015-06-03 17:30:17 -04:00
parent be747af77c
commit 27e7057672
1 changed files with 0 additions and 2 deletions

View File

@ -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;