Paul Vriens : comctl32/tests: Don't assert on not implemented function.
Alexandre Julliard
julliard at winehq.org
Wed Aug 27 08:23:57 CDT 2008
Module: wine
Branch: master
Commit: 2d18e5aac43885daf9ffc576eeedbae4bc63fb64
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2d18e5aac43885daf9ffc576eeedbae4bc63fb64
Author: Paul Vriens <paul.vriens.wine at gmail.com>
Date: Tue Aug 26 17:30:09 2008 +0200
comctl32/tests: Don't assert on not implemented function.
---
dlls/comctl32/tests/tooltips.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/tests/tooltips.c b/dlls/comctl32/tests/tooltips.c
index c945a27..6bf5a3a 100644
--- a/dlls/comctl32/tests/tooltips.c
+++ b/dlls/comctl32/tests/tooltips.c
@@ -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);
More information about the wine-cvs
mailing list