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

This commit is contained in:
Paul Vriens 2008-08-26 17:30:09 +02:00 committed by Alexandre Julliard
parent 0bafb78755
commit 2d18e5aac4
1 changed files with 7 additions and 0 deletions

View File

@ -266,9 +266,16 @@ static void test_gettext(void)
DestroyWindow(hwnd);
SetLastError(0xdeadbeef);
hwnd = CreateWindowExW(0, TOOLTIPS_CLASSW, NULL, 0,
10, 10, 300, 100,
NULL, NULL, NULL, 0);
if (!hwnd && GetLastError() == ERROR_CALL_NOT_IMPLEMENTED) {
win_skip("CreateWindowExW is not implemented\n");
return;
}
assert(hwnd);
toolinfoW.cbSize = sizeof(TTTOOLINFOW);