diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-19 01:38:02 -0600 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2016-01-19 02:04:45 -0600 |
| commit | abb4c64c8f714b01e136fa03cb736cf673d64344 (patch) | |
| tree | 071f430e8076073576d3026296cc5a02fd2d093a /Source/Core | |
| parent | 7b9eeba168a4b2774898e60dc86f1ca108090bf7 (diff) | |
Fix the Exit hotkey.
We were constructing our wxCommandEvent incorrectly and using an ID as an event type instead of the ID.
Works properly now.
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Frame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |
