Skip to content

Commit

Permalink
Title bar background color and text color follow windows settings whe…
Browse files Browse the repository at this point in the history
…n not customized (WinMerge#2505) (4)
  • Loading branch information
sdottaka committed Nov 17, 2024
1 parent 62d7b64 commit 861ee28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Src/Common/MDITabBar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -770,5 +770,5 @@ void CMDITabBar::OnPaint()
return __super::OnPaint();
CPaintDC dc(this);
m_titleBar.DrawIcon(AfxGetMainWnd(), dc);
m_titleBar.DrawButtons(dc, getTextColor(), m_tabCtrl.GetBackColor());
m_titleBar.DrawButtons(dc, CTitleBarHelper::GetTextColor(m_tabCtrl.GetActive()), m_tabCtrl.GetBackColor());
}

0 comments on commit 861ee28

Please sign in to comment.