std::string RollingFileAppender::mkfilename(unsigned idx) const { std::string newfname(fname()); newfname += '.'; newfname += convert<std::string>(idx); return newfname; }
void CRapiFileDialog::OnFileNameTextEnter( wxCommandEvent &event ) { wxFileName newfname(m_pathname.GetPath(true)+GetFileName()->GetValue()); SetPathName(newfname.GetFullPath()); }