mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
Replace GetModuleHandle("user32.dll") with User32Instance.
svn path=/trunk/; revision=20123
This commit is contained in:
@@ -4060,7 +4060,7 @@ static void EDIT_WM_Command(EDITSTATE *es, INT code, INT id, HWND control)
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user