| 1052 | } |
| 1053 | |
| 1054 | void CMainFrame::ClearLog() |
| 1055 | { |
| 1056 | // First Clear LogFile so views reset their m_firstLine: |
| 1057 | m_logFile.Clear(); |
| 1058 | m_logSources.Reset(); |
| 1059 | int views = GetViewCount(); |
| 1060 | for (int i = 0; i < views; ++i) |
| 1061 | { |
| 1062 | GetView(i).Clear(); |
| 1063 | SetModifiedMark(i, false); |
| 1064 | GetTabCtrl().UpdateLayout(); |
| 1065 | GetTabCtrl().Invalidate(); |
| 1066 | } |
| 1067 | } |
| 1068 | |
| 1069 | void CMainFrame::OnLogClear(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1070 | { |
nothing calls this directly
no test coverage detected