[PATCH v2] comctl32/tests: Fix treeview test failures on French Windows XP.

Alex Henrie alexhenrie24 at gmail.com
Mon Oct 16 00:00:05 CDT 2017


The one testbot machine that's having trouble with these is the one XP
machine with a French locale:
http://test.winehq.org/data/de7220e2553764afd5cf8d463110d4ec5b1a6696/index_XP.html

v2: Removed comments.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
 dlls/comctl32/tests/treeview.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/dlls/comctl32/tests/treeview.c b/dlls/comctl32/tests/treeview.c
index e7ce92cae8..1b86ced233 100644
--- a/dlls/comctl32/tests/treeview.c
+++ b/dlls/comctl32/tests/treeview.c
@@ -220,6 +220,9 @@ static const struct message test_right_click_seq[] = {
     { WM_RBUTTONDOWN, sent|wparam, MK_RBUTTON },
     { WM_CAPTURECHANGED, sent|defwinproc },
     { TVM_GETNEXTITEM, sent|wparam|lparam|defwinproc, TVGN_CARET, 0 },
+    { WM_NCHITTEST, sent|optional },
+    { WM_SETCURSOR, sent|optional },
+    { WM_MOUSEFIRST, sent|optional },
     { 0 }
 };
 
@@ -367,6 +370,8 @@ static const struct message parent_vk_return_seq[] = {
 static const struct message parent_right_click_seq[] = {
     { WM_NOTIFY, sent|id, 0, 0, NM_RCLICK },
     { WM_CONTEXTMENU, sent },
+    { WM_NOTIFY, sent|optional },
+    { WM_SETCURSOR, sent|optional },
     { 0 }
 };
 
-- 
2.14.2




More information about the wine-patches mailing list