Make wxAUI hint window highlight colour more noticeable

This makes the hint much more visible under wxGTK where the previously
used wxSYS_COLOUR_ACTIVECAPTION was typically too light in the default
light mode and almost completely invisible in dark mode.

Under wxMSW appearance in dark mode is also improved, although the hint
is still not very visible there -- but this is still better than being
completely invisible before.

Closes #23987.
This commit is contained in:
Vadim Zeitlin 2023-12-24 15:47:03 +01:00
parent f330490287
commit f79b9d01c5

View file

@ -852,7 +852,7 @@ void wxAuiManager::UpdateHintWindowConfig()
wxFRAME_NO_TASKBAR |
wxNO_BORDER);
m_hintWnd->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_ACTIVECAPTION));
m_hintWnd->SetBackgroundColour(wxSystemSettings::GetColour(wxSYS_COLOUR_HOTLIGHT));
#elif defined(__WXMAC__)
// Using a miniframe with float and tool styles keeps the parent
// frame activated and highlighted as such...