Take message filters into account for WM_PAINT too.

This commit is contained in:
Gerard Patel 2001-05-21 18:33:56 +00:00 committed by Alexandre Julliard
parent eaafb73cd5
commit 63b1d175b3
1 changed files with 2 additions and 1 deletions

View File

@ -695,7 +695,8 @@ DECL_HANDLER(get_message)
}
/* now check for WM_PAINT */
if (queue->wake_bits & QS_PAINT)
if ((queue->wake_bits & QS_PAINT) &&
(WM_PAINT >= req->get_first) && (WM_PAINT <= req->get_last))
{
req->type = 0;
req->win = 0;