1
0
mirror of https://github.com/wine-mirror/wine synced 2024-07-08 03:45:57 +00:00

Bring up the File->Save dialog when receiving WM_QUERYENDSESSION.

This commit is contained in:
Francois Gouget 2004-10-08 20:49:24 +00:00 committed by Alexandre Julliard
parent c396cdcc0a
commit d4779e20c8

View File

@ -149,6 +149,12 @@ static LRESULT WINAPI NOTEPAD_WndProc(HWND hWnd, UINT msg, WPARAM wParam,
}
break;
case WM_QUERYENDSESSION:
if (DoCloseFile()) {
return 1;
}
break;
case WM_DESTROY:
PostQuitMessage(0);
break;