mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 03:15:43 +00:00
It's a modal dialog not a window. Close it correctly.
svn path=/trunk/; revision=20154
This commit is contained in:
parent
6688a4c6f3
commit
4f3cd62583
1 changed files with 2 additions and 6 deletions
|
@ -359,14 +359,10 @@ dlProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
case WM_CLOSE:
|
case WM_CLOSE:
|
||||||
DestroyWindow(Dlg);
|
EndDialog(Dlg, 0);
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case WM_DESTROY:
|
default:
|
||||||
PostQuitMessage(0);
|
|
||||||
return TRUE;
|
|
||||||
|
|
||||||
default:
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue