From 886425d83da5bfbbfc32b8f1f8ba3e9f7cbfb31e Mon Sep 17 00:00:00 2001 From: "Charles J. Cliffe" Date: Tue, 10 Nov 2015 02:13:15 -0500 Subject: [PATCH] Fix close on OSX --- src/AppFrame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/AppFrame.cpp b/src/AppFrame.cpp index 805764c..5e936a4 100644 --- a/src/AppFrame.cpp +++ b/src/AppFrame.cpp @@ -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);