comctl32: Fix a few failing tests in win2000.
This commit is contained in:
parent
3814d38aa9
commit
1258e4d8ff
|
@ -48,6 +48,7 @@ static const struct message create_parent_wnd_seq[] = {
|
|||
{ WM_CREATE, sent },
|
||||
{ WM_SHOWWINDOW, sent|wparam, 1 },
|
||||
{ WM_WINDOWPOSCHANGING, sent|wparam, 0 },
|
||||
{ WM_QUERYNEWPALETTE, sent|optional },
|
||||
{ WM_WINDOWPOSCHANGING, sent|wparam, 0 },
|
||||
{ WM_ACTIVATEAPP, sent|wparam, 1 },
|
||||
{ WM_NCACTIVATE, sent|wparam, 1 },
|
||||
|
@ -872,7 +873,9 @@ static void test_icon_spacing(void)
|
|||
trace("test icon spacing\n");
|
||||
|
||||
r = SendMessage(hwnd, LVM_SETICONSPACING, 0, (LPARAM) MAKELONG(20, 30));
|
||||
expect(MAKELONG(w,h), r);
|
||||
ok(r == MAKELONG(w, h) ||
|
||||
broken(r == MAKELONG(w, w)), /* win98 */
|
||||
"Expected %d, got %d\n", MAKELONG(w, h), r);
|
||||
|
||||
r = SendMessage(hwnd, LVM_SETICONSPACING, 0, (LPARAM) MAKELONG(25, 35));
|
||||
expect(MAKELONG(20,30), r);
|
||||
|
|
Loading…
Reference in New Issue