diff --git a/Source/Core/DolphinWX/Frame.cpp b/Source/Core/DolphinWX/Frame.cpp index 56b078fc62..1707cf4a51 100644 --- a/Source/Core/DolphinWX/Frame.cpp +++ b/Source/Core/DolphinWX/Frame.cpp @@ -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))