Commit 2d18e5aa authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

comctl32/tests: Don't assert on not implemented function.

parent 0bafb787
...@@ -266,9 +266,16 @@ static void test_gettext(void) ...@@ -266,9 +266,16 @@ static void test_gettext(void)
DestroyWindow(hwnd); DestroyWindow(hwnd);
SetLastError(0xdeadbeef);
hwnd = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, 0, hwnd = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, 0,
10, 10, 300, 100, 10, 10, 300, 100,
NULL, NULL, NULL, 0); NULL, NULL, NULL, 0);
if (!hwnd && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) {
win_skip("CreateWindowExW is not implemented\n");
return;
}
assert(hwnd); assert(hwnd);
toolinfoW.cbSize = sizeof(TTTOOLINFOW); toolinfoW.cbSize = sizeof(TTTOOLINFOW);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment