Michael Stefaniuc : comctl32/tests: Use the SendMessage instead of ListView_Scroll.

Alexandre Julliard julliard at winehq.org
Fri Mar 26 12:11:50 CDT 2010


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

Author: Michael Stefaniuc <mstefani at redhat.de>
Date:   Fri Mar 26 00:22:22 2010 +0100

comctl32/tests: Use the SendMessage instead of ListView_Scroll.

---

 dlls/comctl32/tests/listview.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index aa3db80..59c3dc1 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -2135,7 +2135,7 @@ todo_wine
     expect(100, rect.left);
     expect(250, rect.right);
 
-    ListView_Scroll(hwnd, 10, 0);
+    SendMessage(hwnd, LVM_SCROLL, 10, 0);
 
     rect.left = LVIR_BOUNDS;
     rect.top  = 1;
@@ -2145,7 +2145,7 @@ todo_wine
     expect(90, rect.left);
     expect(240, rect.right);
 
-    ListView_Scroll(hwnd, -10, 0);
+    SendMessage(hwnd, LVM_SCROLL, -10, 0);
 
     DestroyWindow(hwnd);
 




More information about the wine-cvs mailing list