void NodeJSDebugger::DoDeleteTempFiles(const wxStringSet_t& files) { std::for_each(files.begin(), files.end(), [&](const wxString& filename) { wxLogNull noLog; ::wxRemoveFile(filename); }); }
CompilersModifiedDlg::CompilersModifiedDlg(wxWindow* parent, const wxStringSet_t& deletedCompilers) : CompilersModifiedDlgBase(parent) , m_enableOKButton(false) { wxArrayString compilers; compilers = BuildSettingsConfigST::Get()->GetAllCompilers(); compilers.Insert(SELECT_COMPILER, 0); wxStringSet_t::const_iterator iter = deletedCompilers.begin(); for(; iter != deletedCompilers.end(); ++iter ) { m_table.insert( std::make_pair(*iter, SELECT_COMPILER) ); wxPGProperty* prop = m_pgMgrCompilers->AppendIn( m_pgPropHeader, new wxEnumProperty( *iter, wxPG_LABEL, compilers) ); m_props.push_back( prop ); wxString message; message << _("Create a new compiler named '") << *iter << "' by cloning an existing compiler"; prop->SetHelpString( message ); } WindowAttrManager::Load(this, "CompilersModifiedDlg"); }