mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 06:11:59 +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
|
@ -359,14 +359,10 @@ dlProc(HWND Dlg, UINT Msg, WPARAM wParam, LPARAM lParam)
|
|||
return FALSE;
|
||||
|
||||
case WM_CLOSE:
|
||||
DestroyWindow(Dlg);
|
||||
EndDialog(Dlg, 0);
|
||||
return TRUE;
|
||||
|
||||
case WM_DESTROY:
|
||||
PostQuitMessage(0);
|
||||
return TRUE;
|
||||
|
||||
default:
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue