mirror of https://github.com/snes9xgit/snes9x.git
win32: use WM_CLOSE when exiting via menu (fixes #349)
This commit is contained in:
parent
77c30172a4
commit
2a3cafb6b2
|
@ -1998,7 +1998,7 @@ LRESULT CALLBACK WinProc(
|
||||||
|
|
||||||
case ID_FILE_EXIT:
|
case ID_FILE_EXIT:
|
||||||
S9xSetPause (PAUSE_EXIT);
|
S9xSetPause (PAUSE_EXIT);
|
||||||
PostMessage (hWnd, WM_DESTROY, 0, 0);
|
PostMessage (hWnd, WM_CLOSE, 0, 0);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ID_WINDOW_HIDEMENUBAR:
|
case ID_WINDOW_HIDEMENUBAR:
|
||||||
|
|
Loading…
Reference in New Issue