| CODENOTIFIER | HelpYou are not signed inSign in |
Project: TortoiseSVN
Revision: 13816
Author: steveking
Date: 03 Sep 2008 13:57:33
Changes:Only set the background image if the app is themed:
XP has problems with colors otherwise (Vista has no problems).
| ... | ...@@ -355,7 +355,9 @@ | |
| 355 | 355 | nID = IDI_REPO_SVNSSH; |
| 356 | 356 | if (m_strReposRoot.Left(7).CompareNoCase(_T("file://"))==0) |
| 357 | 357 | nID = IDI_REPO_FILE; |
| 358 | CAppUtils::SetListCtrlBackgroundImage(m_RepoList.GetSafeHwnd(), nID); | |
| 358 | CXPTheme theme; | |
| 359 | if (theme.IsAppThemed()) | |
| 360 | CAppUtils::SetListCtrlBackgroundImage(m_RepoList.GetSafeHwnd(), nID); | |
| 359 | 361 | } |
| 360 | 362 | } |
| 361 | 363 |