user32/tests: Fix input test failure in win9x platforms.

This commit is contained in:
Andrew Eikum 2009-08-20 11:43:00 -05:00 committed by Alexandre Julliard
parent 85a5867308
commit e4106b6273
1 changed files with 4 additions and 1 deletions

View File

@ -1122,7 +1122,10 @@ static void test_Input_unicode(void)
wclass.lpszMenuName = 0; wclass.lpszMenuName = 0;
wclass.cbClsExtra = 0; wclass.cbClsExtra = 0;
wclass.cbWndExtra = 0; wclass.cbWndExtra = 0;
RegisterClassW(&wclass); if(!RegisterClassW(&wclass)){
win_skip("Unicode functions not supported\n");
return;
}
/* create the test window that will receive the keystrokes */ /* create the test window that will receive the keystrokes */
hWndTest = CreateWindowW(wclass.lpszClassName, windowNameW, hWndTest = CreateWindowW(wclass.lpszClassName, windowNameW,
WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, 100, 100, WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, 0, 100, 100,