Module: wine Branch: master Commit: d75b0cdc986f464f3067767cd53aca6b85feb366 URL: http://source.winehq.org/git/wine.git/?a=commit;h=d75b0cdc986f464f3067767cd5...
Author: Rein Klazes wijn@online.nl Date: Wed Mar 18 08:47:00 2009 +0100
user32: In MENU_SuspendPopup() make sure the right message is removed.
---
dlls/user32/menu.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/menu.c b/dlls/user32/menu.c index fc6f981..ff6af76 100644 --- a/dlls/user32/menu.c +++ b/dlls/user32/menu.c @@ -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 )