| 817 | } |
| 818 | |
| 819 | void CMainFrame::SaveViewFile(const std::wstring& filename) |
| 820 | { |
| 821 | UISetText(0, WStr(wstringbuilder() << "Saving " << filename)); |
| 822 | Win32::ScopedCursor cursor(::LoadCursor(nullptr, IDC_WAIT)); |
| 823 | GetView().Save(filename); |
| 824 | m_txtFileName = filename; |
| 825 | UpdateStatusBar(); |
| 826 | } |
| 827 | |
| 828 | struct View |
| 829 | { |