riched20: Process messages which arrive before WM_NCCREATE.

oldstable
Austin Lund 2010-07-08 09:10:02 +10:00 committed by Alexandre Julliard
parent 994263e784
commit 61e5fec020
1 changed files with 2 additions and 3 deletions

View File

@ -4406,10 +4406,9 @@ static LRESULT RichEditWndProc_common(HWND hWnd, UINT msg, WPARAM wParam,
texthost = ME_CreateTextHost(hWnd, pcs, FALSE);
return texthost != NULL;
}
else if (msg != WM_NCDESTROY)
else
{
ERR("called with invalid hWnd %p - application bug?\n", hWnd);
return 0;
return DefWindowProcW(hWnd, msg, wParam, lParam);
}
}