user32/tests: The dialog for that proc has no IDCANCEL.

This commit is contained in:
André Hentschel 2010-07-06 21:03:10 +02:00 committed by Alexandre Julliard
parent f12a846d63
commit 9c1149045f
1 changed files with 1 additions and 6 deletions

View File

@ -760,12 +760,7 @@ static INT_PTR CALLBACK focusDlgWinProc (HWND hDlg, UINT uiMsg, WPARAM wParam,
return TRUE;
case WM_COMMAND:
if (LOWORD(wParam) == IDCANCEL)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
else if (LOWORD(wParam) == 200)
if (LOWORD(wParam) == 200)
{
if (HIWORD(wParam) == EN_SETFOCUS)
g_hwndInitialFocusT1 = (HWND)lParam;