From 671295089e11784762bc84ecbb8253e72dac43b7 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Sat, 1 Jun 2019 14:50:52 +1000 Subject: [PATCH] Updated user32-msgbox-Support-WM_COPY-mesg patchset MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thanks Gabriel Ivăncescu --- .../0002-user32-msgbox-Use-a-windows-hook-to-trap-Ctrl-C.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/user32-msgbox-Support-WM_COPY-mesg/0002-user32-msgbox-Use-a-windows-hook-to-trap-Ctrl-C.patch b/patches/user32-msgbox-Support-WM_COPY-mesg/0002-user32-msgbox-Use-a-windows-hook-to-trap-Ctrl-C.patch index d7ccc435..6110ac28 100644 --- a/patches/user32-msgbox-Support-WM_COPY-mesg/0002-user32-msgbox-Use-a-windows-hook-to-trap-Ctrl-C.patch +++ b/patches/user32-msgbox-Support-WM_COPY-mesg/0002-user32-msgbox-Use-a-windows-hook-to-trap-Ctrl-C.patch @@ -38,7 +38,7 @@ index 8a1b89f..52b0852 100644 SetWindowContextHelpId(hwnd, mbp->dwContextHelpId); MSGBOX_OnInit(hwnd, mbp); SetPropA(hwnd, "WINE_MSGBOX_HELPCALLBACK", mbp->lpfnMsgBoxCallback); -+ msghook_handle = SetWindowsHookExA(WH_MSGFILTER, msg_hook_proc, GetModuleHandleA(NULL), 0); ++ msghook_handle = SetWindowsHookExA(WH_MSGFILTER, msg_hook_proc, NULL, GetCurrentThreadId()); break; } case WM_COPY: