comctl32/tests: The PSDK does not define ListView_InsertItemA() so don't use it.

Francois Gouget fgouget at free.fr
Sun May 27 06:31:21 CDT 2007


---

Luckily ListView_InsertItem() just happens to be the same as 
ListView_InsertItemA() since we don't define UNICODE.

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

diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 97c34a6..a64d4d3 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -568,7 +568,7 @@ static void insert_item(HWND hwnd, int idx)
     item.iSubItem = 0;
     item.pszText = text;
 
-    rc = ListView_InsertItemA(hwnd, &item);
+    rc = ListView_InsertItem(hwnd, &item);
     expect(idx, rc);
 }
 
-- 
1.4.4.4




More information about the wine-patches mailing list