Akihiro Sagawa : imm32/tests: Use WM_CLOSE instead of DestroyWindow().
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 12 09:47:44 CST 2016
Module: wine
Branch: master
Commit: 1fb30e1cabeb7cd626793f1b3e35b37ee93523a5
URL: http://source.winehq.org/git/wine.git/?a=commit;h=1fb30e1cabeb7cd626793f1b3e35b37ee93523a5
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Thu Feb 11 23:03:29 2016 +0900
imm32/tests: Use WM_CLOSE instead of DestroyWindow().
DestroyWindow() call won't work across threads.
Signed-off-by: Akihiro Sagawa <sagawa.aki at gmail.com>
Signed-off-by: Aric Stewart <aric at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/imm32/tests/imm32.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/imm32/tests/imm32.c b/dlls/imm32/tests/imm32.c
index 72444e2..9ab55f3 100644
--- a/dlls/imm32/tests/imm32.c
+++ b/dlls/imm32/tests/imm32.c
@@ -639,7 +639,7 @@ static void test_ImmThreads(void)
ImmReleaseContext(threadinfo.hwnd,otherHimc);
ImmReleaseContext(hwnd,himc);
- DestroyWindow(threadinfo.hwnd);
+ SendMessageA(threadinfo.hwnd, WM_CLOSE, 0, 0);
TerminateThread(hThread, 1);
himc = ImmGetContext(GetDesktopWindow());
More information about the wine-cvs
mailing list