mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 12:49:45 +00:00
Bring up the File->Save dialog when receiving WM_QUERYENDSESSION.
This commit is contained in:
parent
c396cdcc0a
commit
d4779e20c8
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user