Module: wine Branch: master Commit: 45b8e6a4f92e9072780ad7202031c0ac9f2ab5f4 URL: http://source.winehq.org/git/wine.git/?a=commit;h=45b8e6a4f92e9072780ad72020...
Author: Nikolay Sivov bunglehead@gmail.com Date: Sun May 17 23:47:38 2009 +0400
comctl32/tests: 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);