Updated user32-msgbox-Support-WM_COPY-mesg patchset

Thanks Gabriel Ivăncescu
This commit is contained in:
Alistair Leslie-Hughes 2019-06-01 14:50:52 +10:00
parent 197e08b441
commit 671295089e

View File

@ -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: