Fix close on OSX

This commit is contained in:
Charles J. Cliffe 2015-11-10 02:13:15 -05:00
parent f94f285f62
commit 886425d83d
1 changed files with 1 additions and 1 deletions

View File

@ -629,7 +629,7 @@ void AppFrame::OnMenu(wxCommandEvent& event) {
demodTuner->Refresh();
SetTitle(CUBICSDR_TITLE);
currentSessionFile = "";
} else if (event.GetId() == wxID_CLOSE) {
} else if (event.GetId() == wxID_CLOSE || event.GetId() == wxID_EXIT) {
Close(false);
} else if (event.GetId() == wxID_THEME_DEFAULT) {
ThemeMgr::mgr.setTheme(COLOR_THEME_DEFAULT);