user32: in MENU_SuspendPopup() make sure the right message is removed
Rein Klazes
wijn at online.nl
Wed Mar 18 02:47:00 CDT 2009
---
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 )
--
1.6.2
----=_7ja1s4pp62l2h3q11mpjkq52d741ndaubj.MFSBCHJLHS--
More information about the wine-patches
mailing list