comctl32/tests: Use win_skip() while skipping subclass tests.

This commit is contained in:
Nikolay Sivov 2009-12-22 01:57:20 +03:00 committed by Alexandre Julliard
parent 48d42d4a93
commit 705aee525a
1 changed files with 3 additions and 0 deletions

View File

@ -293,7 +293,10 @@ START_TEST(subclass)
pDefSubclassProc = (void*)GetProcAddress(hdll, (LPSTR)413);
if(!pSetWindowSubclass || !pRemoveWindowSubclass || !pDefSubclassProc)
{
win_skip("SetWindowSubclass and friends are not available\n");
return;
}
if(!RegisterWindowClasses()) assert(0);