Make the Escape key pause the emulator in linux when not in fullscreen.

I believe this is the same as in windows?


git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5078 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2010-02-17 23:44:07 +00:00
parent 2c7b484869
commit 967c5891e9
4 changed files with 15 additions and 8 deletions

View File

@ -537,8 +537,9 @@ void Host_Message(int Id)
switch(Id)
{
case WM_USER_STOP:
case WM_USER_PAUSE:
{
wxCommandEvent event(wxEVT_HOST_COMMAND, WM_USER_STOP);
wxCommandEvent event(wxEVT_HOST_COMMAND, Id);
main_frame->GetEventHandler()->AddPendingEvent(event);
break;
}