Replace GetModuleHandle("user32.dll") with User32Instance.
Modified: trunk/reactos/lib/user32/controls/edit.c
_____
Modified: trunk/reactos/lib/user32/controls/edit.c
--- trunk/reactos/lib/user32/controls/edit.c 2005-12-12 21:34:32 UTC
(rev 20122)
+++ trunk/reactos/lib/user32/controls/edit.c 2005-12-12 21:36:50 UTC
(rev 20123)
@@ -4060,7 +4060,7 @@
static void EDIT_WM_ContextMenu(EDITSTATE *es, INT x, INT y)
{
#ifdef __REACTOS__
- HMENU menu = LoadMenuA(GetModuleHandleA("USER32"), "EDITMENU");
+ HMENU menu = LoadMenuA(User32Instance, "EDITMENU");
#else
HMENU menu = LoadMenuA(user32_module, "EDITMENU");
#endif