MSVC / close menu fix

This commit is contained in:
Charles J. Cliffe
2015-11-09 23:27:56 -05:00
parent eefa59917d
commit f94f285f62
2 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -629,7 +629,7 @@ void AppFrame::OnMenu(wxCommandEvent& event) {
demodTuner->Refresh();
SetTitle(CUBICSDR_TITLE);
currentSessionFile = "";
} else if (event.GetId() == wxID_EXIT) {
} else if (event.GetId() == wxID_CLOSE) {
Close(false);
} else if (event.GetId() == wxID_THEME_DEFAULT) {
ThemeMgr::mgr.setTheme(COLOR_THEME_DEFAULT);