Commit 619e3450 authored by Jactry Zeng's avatar Jactry Zeng Committed by Alexandre Julliard

appwiz.cpl: Handle WM_CLOSE and WM_COMMAND(IDCANCEL) in the support info dialog.

parent 3e677986
...@@ -608,9 +608,14 @@ static INT_PTR CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, L ...@@ -608,9 +608,14 @@ static INT_PTR CALLBACK SupportInfoDlgProc(HWND hWnd, UINT msg, WPARAM wParam, L
case WM_DESTROY: case WM_DESTROY:
return 0; return 0;
case WM_CLOSE:
EndDialog(hWnd, TRUE);
return TRUE;
case WM_COMMAND: case WM_COMMAND:
switch (LOWORD(wParam)) switch (LOWORD(wParam))
{ {
case IDCANCEL:
case IDOK: case IDOK:
EndDialog(hWnd, TRUE); EndDialog(hWnd, TRUE);
break; break;
......
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