Huw Davies : comctl32/tests: Don' t assume that the default font height is 16 pixels.

Alexandre Julliard julliard at winehq.org
Tue Oct 9 13:37:39 CDT 2007


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Sun Oct  7 15:31:43 2007 +0100

comctl32/tests: Don't assume that the default font height is 16 pixels.

---

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

diff --git a/dlls/comctl32/tests/treeview.c b/dlls/comctl32/tests/treeview.c
index 4f99e0d..17d33a5 100644
--- a/dlls/comctl32/tests/treeview.c
+++ b/dlls/comctl32/tests/treeview.c
@@ -141,7 +141,7 @@ static const struct message TestGetSetItemHeightSeq[] = {
     { TVM_GETITEMHEIGHT, sent|wparam|lparam, 0x00000000, 0x00000000 },
     { TVM_SETITEMHEIGHT, sent|wparam|lparam, 0xffffffff, 0x00000000 },
     { TVM_GETITEMHEIGHT, sent|wparam|lparam, 0x00000000, 0x00000000 },
-    { TVM_SETITEMHEIGHT, sent|wparam|lparam, 0x00000020, 0x00000000 },
+    { TVM_SETITEMHEIGHT, sent|lparam, 0xcccccccc, 0x00000000 },
     { TVM_GETITEMHEIGHT, sent|wparam|lparam, 0x00000000, 0x00000000 },
     { TVM_SETITEMHEIGHT, sent|wparam|lparam, 0x00000009, 0x00000000 },
     { WM_WINDOWPOSCHANGING, sent|defwinproc },




More information about the wine-cvs mailing list