Module: wine Branch: master Commit: 1fb30e1cabeb7cd626793f1b3e35b37ee93523a5 URL: http://source.winehq.org/git/wine.git/?a=commit;h=1fb30e1cabeb7cd626793f1b3e...
Author: Akihiro Sagawa sagawa.aki@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@gmail.com Signed-off-by: Aric Stewart aric@codeweavers.com Signed-off-by: Alexandre Julliard julliard@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());