diff --git a/src/msw/headerctrl.cpp b/src/msw/headerctrl.cpp index 8a1bcdc80a..a0b474c8ab 100644 --- a/src/msw/headerctrl.cpp +++ b/src/msw/headerctrl.cpp @@ -660,7 +660,7 @@ wxMSWHeaderCtrlCustomDraw* wxMSWHeaderCtrl::GetCustomDraw() // custom font, the native control handles the font just fine on its own, // so if our custom colours were reset, don't bother with custom drawing // any longer. - if ( !m_hasBgCol && !m_hasFgCol ) + if ( !m_hasBgCol && !m_hasFgCol && !wxMSWDarkMode::IsActive() ) { if ( m_customDraw ) {