mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 01:15:09 +00:00
[SPIDER]
- Use a Yes/No message box for "Quit the current game?" instead of Ok/Cancel. Patch by Lee Schroeder See issue #6589 for more details. svn path=/trunk/; revision=54218
This commit is contained in:
parent
50023c1e97
commit
c7a9875e75
1 changed files with 5 additions and 5 deletions
|
@ -401,8 +401,8 @@ LRESULT CALLBACK WndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam)
|
|||
{
|
||||
int ret;
|
||||
|
||||
ret = MessageBox(hwnd, MsgQuit, szAppName, MB_OKCANCEL|MB_ICONQUESTION);
|
||||
if (ret == IDOK)
|
||||
ret = MessageBox(hwnd, MsgQuit, szAppName, MB_YESNO|MB_ICONQUESTION);
|
||||
if (ret == IDYES)
|
||||
{
|
||||
WinHelp(hwnd, szHelpPath, HELP_QUIT, 0);
|
||||
DestroyWindow(hwnd);
|
||||
|
|
Loading…
Reference in a new issue