[6/6] comctl32/tests: Don't use magic numbers for ListView exstyles
Nikolay Sivov
bunglehead at gmail.com
Sun May 17 15:12:44 CDT 2009
Changelog:
- Don't use magic numbers for ListView exstyles
>From 7eee274bb9ac02cf3cafbee17b2f4554dbca6a8f Mon Sep 17 00:00:00 2001
From: Nikolay Sivov <bunglehead at gmail.com>
Date: Sun, 17 May 2009 23:47:38 +0400
Subject: Don't use magic numbers for ListView exstyles
---
dlls/comctl32/tests/listview.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/comctl32/tests/listview.c b/dlls/comctl32/tests/listview.c
index 6386655..0c6b139 100644
--- a/dlls/comctl32/tests/listview.c
+++ b/dlls/comctl32/tests/listview.c
@@ -410,7 +410,9 @@ static void test_images(void)
10, 10, 100, 200, hwndparent, NULL, NULL, NULL);
ok(hwnd != NULL, "failed to create listview window\n");
- r = SendMessage(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0, 0x940);
+ r = SendMessage(hwnd, LVM_SETEXTENDEDLISTVIEWSTYLE, 0,
+ LVS_EX_UNDERLINEHOT | LVS_EX_FLATSB | LVS_EX_ONECLICKACTIVATE);
+
ok(r == 0, "should return zero\n");
r = SendMessage(hwnd, LVM_SETIMAGELIST, 0, (LPARAM)himl);
--
1.5.6.5
More information about the wine-patches
mailing list