| 282 | } |
| 283 | |
| 284 | void CConfigAppearance::AddFontName(std::wstring_view Name) // // // |
| 285 | { |
| 286 | if (Name.size() >= LF_FACESIZE) // // // |
| 287 | return; |
| 288 | |
| 289 | CComboBox *pFontList = static_cast<CComboBox*>(GetDlgItem(IDC_FONT)); |
| 290 | |
| 291 | pFontList->AddString(Name.data()); |
| 292 | |
| 293 | if (m_strFont == Name) |
| 294 | pFontList->SelectString(0, Name.data()); |
| 295 | } |
| 296 | |
| 297 | BOOL CConfigAppearance::OnApply() |
| 298 | { |
no test coverage detected