• R/O
  • SSH
  • HTTPS

tortoisesvn: Commit


Commit MetaInfo

Révision28699 (tree)
l'heure2019-12-14 17:24:18
Auteurstefankueng

Message de Log

Ensure the child bar is repainted as well.

Change Summary

Modification

--- trunk/src/TortoiseProc/RepositoryBar.cpp (revision 28698)
+++ trunk/src/TortoiseProc/RepositoryBar.cpp (revision 28699)
@@ -472,6 +472,11 @@
472472
473473 void CRepositoryBarCnr::DrawItem(LPDRAWITEMSTRUCT)
474474 {
475+ // move the child control to ensure it's drawn
476+ // if necessary
477+ CRect rc;
478+ GetClientRect(&rc);
479+ m_pbarRepository->MoveWindow(48, 0, rc.Width(), rc.Height());
475480 }
476481
477482 UINT CRepositoryBarCnr::OnGetDlgCode()
Afficher sur ancien navigateur de dépôt.