//##ModelId=474D306A0020 void CEditWnd::OnSaveAll() { BOOL bUpdateDesc = m_cbUpdateDescription.GetCheck(); int nSize = m_Edits.size(); for(int nTab = 0; nTab < nSize; nTab++) { DoSaveItem(nTab); } }
void CEditWnd::OnSaveAll() { BOOL bUpdateDesc = m_cbUpdateDescription.GetCheck(); INT_PTR size = m_Edits.size(); for(int tab = 0; tab < size; tab++) { DoSaveItem(tab); } }
//##ModelId=474D30690252 bool CEditWnd::DoSave() { bool bRet = false; int nTab = m_Tabs.GetActiveTab(); if(nTab >= 0 && nTab < (int)m_Edits.size()) { bRet = DoSaveItem(nTab); } return bRet; }
void OpenWindowsPanel::OnSaveSelectedFiles(wxCommandEvent& e) { wxUnusedVar(e); wxDataViewItemArray items; m_dvListCtrl->GetSelections(items); if(items.IsEmpty()) return; for(size_t i = 0; i < items.GetCount(); ++i) { DoSaveItem(items.Item(i)); } }