user32/tests: Use SetWindowLongPtr instead of SetWindowLong.
This commit is contained in:
parent
4daec079c1
commit
56797f9c65
|
@ -1930,7 +1930,7 @@ static void test_child_edit_wmkeydown(void)
|
|||
|
||||
hwEdit = create_child_editcontrol(0, 0);
|
||||
hwParent = GetParent(hwEdit);
|
||||
SetWindowLong(hwParent, GWL_WNDPROC, (LONG)child_edit_wmkeydown_proc);
|
||||
SetWindowLongPtr(hwParent, GWLP_WNDPROC, (LONG_PTR)child_edit_wmkeydown_proc);
|
||||
r = SendMessage(hwEdit, WM_KEYDOWN, VK_RETURN, 0x1c0001);
|
||||
ok(1 == r, "expected 1, got %d\n", r);
|
||||
ok(0 == child_edit_wmkeydown_num_messages, "expected 0, got %d\n", child_edit_wmkeydown_num_messages);
|
||||
|
|
Loading…
Reference in New Issue