Commit 61e5fec0 authored by Austin Lund's avatar Austin Lund Committed by Alexandre Julliard

riched20: Process messages which arrive before WM_NCCREATE.

parent 994263e7
......@@ -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);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment