Author: mjmartin
Date: Sun Oct 4 09:26:23 2009
New Revision: 43280
URL:
http://svn.reactos.org/svn/reactos?rev=43280&view=rev
Log:
edit.c: Remove TPM_RETURNCMD flag from TrackPopupMenu missed during a recent WINE sync.
Most apps that use edit control context menus are back to working. VB apps still crashes
as the context menu implementation for edit controls is slightly wrong.
Modified:
trunk/reactos/dll/win32/user32/controls/edit.c
Modified: trunk/reactos/dll/win32/user32/controls/edit.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/controls/…
==============================================================================
--- trunk/reactos/dll/win32/user32/controls/edit.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/controls/edit.c [iso-8859-1] Sun Oct 4 09:26:23 2009
@@ -3469,7 +3469,7 @@
y = rc.top + (rc.bottom - rc.top) / 2;
}
- TrackPopupMenu(popup, TPM_LEFTALIGN | TPM_RIGHTBUTTON | TPM_RETURNCMD, x, y, 0,
es->hwndSelf, NULL);
+ TrackPopupMenu(popup, TPM_LEFTALIGN | TPM_RIGHTBUTTON, x, y, 0, es->hwndSelf, NULL);
DestroyMenu(menu);
}