Merge pull request #3531 from Sonicadvance1/fix_exit_hotkey

Fix the Exit hotkey.
This commit is contained in:
Ryan Houdek 2016-01-19 03:08:54 -05:00
commit d134858403

View file

@ -1322,7 +1322,7 @@ void CFrame::ParseHotkeys()
if (IsHotkey(HK_SCREENSHOT))
Core::SaveScreenShot();
if (IsHotkey(HK_EXIT))
wxPostEvent(this, wxCommandEvent(wxID_EXIT));
wxPostEvent(this, wxCommandEvent(wxEVT_MENU, wxID_EXIT));
if (IsHotkey(HK_VOLUME_DOWN))
AudioCommon::DecreaseVolume(3);
if (IsHotkey(HK_VOLUME_UP))