| 1323 | } |
| 1324 | |
| 1325 | void CMainFrame::SetLogFont() |
| 1326 | { |
| 1327 | Win32::HFont hFont(CreateFontIndirect(&m_logfont)); |
| 1328 | if (!hFont) |
| 1329 | return; |
| 1330 | |
| 1331 | int views = GetViewCount(); |
| 1332 | for (int i = 0; i < views; ++i) |
| 1333 | GetView(i).SetFont(hFont.get()); |
| 1334 | m_hFont = std::move(hFont); |
| 1335 | } |
| 1336 | |
| 1337 | void CMainFrame::OnAppAbout(UINT /*uNotifyCode*/, int /*nID*/, CWindow /*wndCtl*/) |
| 1338 | { |