riched20: Process messages which arrive before WM_NCCREATE.
This commit is contained in:
parent
994263e784
commit
61e5fec020
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue