From 519a5145cd63a074cc48b544616987423c0b6556 Mon Sep 17 00:00:00 2001 From: Charlie Fenton Date: Tue, 15 Nov 2011 02:06:18 +0000 Subject: [PATCH] Limit change of 9 November to only Debug builds for "-NSDocumentRevisionsDebugMode=YES" command line arg svn path=/trunk/boinc/; revision=24597 --- checkin_notes | 7 +++++++ clientgui/BOINCGUIApp.cpp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) 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!!