Silently ignore WM_PAINT in msg tests.

This commit is contained in:
Vitaliy Margolen 2005-10-26 10:11:52 +00:00 committed by Alexandre Julliard
parent af53827901
commit 453e16d329

View File

@ -5947,11 +5947,7 @@ static const struct message WmDispatchPaint[] = {
static LRESULT WINAPI DispatchMessageCheckProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
{
if (message == WM_PAINT)
{
trace( "Got WM_PAINT, ignoring\n" );
return 0;
}
if (message == WM_PAINT) return 0;
return MsgCheckProcA( hwnd, message, wParam, lParam );
}