Commit 9c114904 authored by André Hentschel's avatar André Hentschel Committed by Alexandre Julliard

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

parent f12a846d
...@@ -760,12 +760,7 @@ static INT_PTR CALLBACK focusDlgWinProc (HWND hDlg, UINT uiMsg, WPARAM wParam, ...@@ -760,12 +760,7 @@ static INT_PTR CALLBACK focusDlgWinProc (HWND hDlg, UINT uiMsg, WPARAM wParam,
return TRUE; return TRUE;
case WM_COMMAND: case WM_COMMAND:
if (LOWORD(wParam) == IDCANCEL) if (LOWORD(wParam) == 200)
{
EndDialog(hDlg, LOWORD(wParam));
return TRUE;
}
else if (LOWORD(wParam) == 200)
{ {
if (HIWORD(wParam) == EN_SETFOCUS) if (HIWORD(wParam) == EN_SETFOCUS)
g_hwndInitialFocusT1 = (HWND)lParam; g_hwndInitialFocusT1 = (HWND)lParam;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment