void CDlgStockList::CopyStockTo(CArray<StockUserInfo*, StockUserInfo*> &ayStock) { ayStock.RemoveAll(); ayStock.Copy(m_ayStock); }
void SourceEdit::GetAllHeadings(CArray<SourceLexer::Heading>& headings) { SourceLexer lex(this,SourceLexer::LexHeadings); lex.Process(0,-1); headings.Copy(lex.GetHeadings()); }