mirror of https://github.com/BOINC/boinc.git
MGR: Fix Mac-only bug since BOINC 7.3.0 which prevented showing exit confirmation dialog when selecting quit from menubar icon menu (task bar menu.) This bug was introduced when task bar icon handling was changed for wxWidgets 3.0.
This commit is contained in:
parent
eb088e48d7
commit
7dea1b7b16
|
@ -290,10 +290,7 @@ void CTaskBarIcon::OnAbout(wxCommandEvent& WXUNUSED(event)) {
|
|||
void CTaskBarIcon::OnExit(wxCommandEvent& event) {
|
||||
wxLogTrace(wxT("Function Start/End"), wxT("CTaskBarIcon::OnExit - Function Begin"));
|
||||
|
||||
#ifndef __WXMAC__
|
||||
if (wxGetApp().ConfirmExit())
|
||||
#endif
|
||||
{
|
||||
if (wxGetApp().ConfirmExit()) {
|
||||
wxCloseEvent eventClose;
|
||||
OnClose(eventClose);
|
||||
if (eventClose.GetSkipped()) event.Skip();
|
||||
|
|
Loading…
Reference in New Issue