From: Roman Pišl rpisl@seznam.cz
--- dlls/ole32/tests/dragdrop.c | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/dlls/ole32/tests/dragdrop.c b/dlls/ole32/tests/dragdrop.c index bd63c11401f..1cb806ae031 100644 --- a/dlls/ole32/tests/dragdrop.c +++ b/dlls/ole32/tests/dragdrop.c @@ -686,6 +686,7 @@ static void test_Register_Revoke(void)
static void test_DoDragDrop(void) { + HCURSOR cursor; DWORD effect; HRESULT hr; HWND hwnd; @@ -729,6 +730,8 @@ static void test_DoDragDrop(void) GetWindowRect(hwnd, &rect); ok(SetCursorPos(rect.left+50, rect.top+50), "SetCursorPos failed\n");
+ cursor = GetCursor(); + for (test_reentrance = 0; test_reentrance < 2; test_reentrance++) { for (seq = 0; seq < ARRAY_SIZE(call_lists); seq++) @@ -745,6 +748,9 @@ static void test_DoDragDrop(void) } }
+ todo_wine + ok(GetCursor() == cursor, "cursor not restored\n"); + OleUninitialize();
DestroyWindow(hwnd);