diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index 526af09b58..23a7599ae6 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -1103,7 +1103,7 @@ int CBOINCGUIApp::ConfirmExit() { dlg.Centre(); if (wxID_OK == dlg.ShowModal()) { -#ifndef __WXMAC__ +#ifdef __WXMAC__ s_bSkipExitConfirmation = true; // Don't ask twice (only affects Mac) #else m_iShutdownCoreClient = dlg.m_DialogShutdownCoreClient->GetValue();