diff --git a/checkin_notes b/checkin_notes index 299e90309a..51d6f7d713 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8479,3 +8479,10 @@ Charlie 14 Nov 2011 clientgui/ sg_BoincSimpleFrame.cpp sg_TaskPanel.cpp,.h + +Charlie 9 Nov 2011 + - MGR: Limit change of 9 November to only Debug builds: accept and + ignore command line argument "-NSDocumentRevisionsDebugMode=YES" + + clientgui/ + BOINCGUIApp.cpp diff --git a/clientgui/BOINCGUIApp.cpp b/clientgui/BOINCGUIApp.cpp index c3c83bbc7e..28d5d556b6 100644 --- a/clientgui/BOINCGUIApp.cpp +++ b/clientgui/BOINCGUIApp.cpp @@ -515,7 +515,7 @@ void CBOINCGUIApp::OnInitCmdLine(wxCmdLineParser &parser) { { wxCMD_LINE_SWITCH, wxT("i"), wxT("insecure"), _("disable BOINC security users and permissions")}, { wxCMD_LINE_SWITCH, wxT("c"), wxT("checkskins"), _("set skin debugging mode to enable skin manager error messages")}, { wxCMD_LINE_SWITCH, wxT("m"), wxT("multiple"), _("multiple instances of BOINC Manager allowed")}, -#ifdef __WXMAC__ +#if (defined(__WXMAC__) && defined(_DEBUG)) { wxCMD_LINE_OPTION, wxT("NSDocumentRevisionsDebugMode"), NULL, _("Not used: workaround for bug in XCode 4.2")}, #endif { wxCMD_LINE_NONE} //DON'T forget this line!!