* @brief Set the path for one side * * @param [in] pane Index (0-based) of pane to update. * @param [in] lpszString New text for pane. */
| 288 | * @param [in] lpszString New text for pane. |
| 289 | */ |
| 290 | void CEditorFilePathBar::SetCaption(int pane, const String& sString) |
| 291 | { |
| 292 | ASSERT (pane >= 0 && pane < static_cast<int>(std::size(m_Edit))); |
| 293 | |
| 294 | // Check for `nullptr` since window may be closing.. |
| 295 | if (m_hWnd == nullptr) |
| 296 | return; |
| 297 | |
| 298 | m_Edit[pane].SetOriginalText(sString); |
| 299 | } |
| 300 | |
| 301 | String CEditorFilePathBar::GetPath(int pane) const |
| 302 | { |
no test coverage detected