user32: In MENU_SuspendPopup() make sure the right message is removed.

This commit is contained in:
Rein Klazes 2009-03-18 08:47:00 +01:00 committed by Alexandre Julliard
parent 9925785eef
commit d75b0cdc98

View File

@ -2841,7 +2841,7 @@ static BOOL MENU_SuspendPopup( MTRACKER* pmt, UINT16 uMsg )
msg.hwnd = pmt->hOwnerWnd;
PeekMessageW( &msg, 0, 0, 0, PM_NOYIELD | PM_REMOVE);
PeekMessageW( &msg, 0, uMsg, uMsg, PM_NOYIELD | PM_REMOVE);
pmt->trackFlags |= TF_SKIPREMOVE;
switch( uMsg )