From: Roman Pišl rpisl@seznam.cz
--- dlls/ole32/tests/dragdrop.c | 4 ++++ 1 file changed, 4 insertions(+)
diff --git a/dlls/ole32/tests/dragdrop.c b/dlls/ole32/tests/dragdrop.c index bd63c11401f..17f9edd6bf9 100644 --- a/dlls/ole32/tests/dragdrop.c +++ b/dlls/ole32/tests/dragdrop.c @@ -733,13 +733,17 @@ static void test_DoDragDrop(void) { for (seq = 0; seq < ARRAY_SIZE(call_lists); seq++) { + HCURSOR cursor; DWORD effect_in; trace("%d\n", seq); call_ptr = call_lists[seq]; effect_in = call_ptr->set_param; call_ptr++;
+ cursor = GetCursor(); hr = DoDragDrop(&DataObject, &DropSource, effect_in, &effect); + todo_wine + ok(GetCursor() == cursor, "cursor not restored\n"); check_expect(DoDragDrop_ret, hr, NULL); check_expect(DoDragDrop_effect_out, effect, NULL); }