Alex Henrie : comctl32/tests: Fix treeview test failures on French Windows XP.

Alexandre Julliard julliard at winehq.org
Mon Oct 16 14:38:31 CDT 2017


Module: wine
Branch: master
Commit: 33e275a1d02a397228e856f2222d3b2f4067e424
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=33e275a1d02a397228e856f2222d3b2f4067e424

Author: Alex Henrie <alexhenrie24 at gmail.com>
Date:   Sun Oct 15 23:00:05 2017 -0600

comctl32/tests: Fix treeview test failures on French Windows XP.

Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 e7ce92c..a014625 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_MOUSEMOVE, 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 }
 };
 




More information about the wine-cvs mailing list