mirror of
https://github.com/wxWidgets/wxWidgets.git
synced 2026-08-17 17:02:51 +08:00
Tweak wxSYS_COLOUR_INFOBK value in dark mode under Windows 11
Use the average of the colours in the dithered background actually used. See #26412.
This commit is contained in:
committed by
Vadim Zeitlin
parent
c95a03c543
commit
dbce2cf0d1
@@ -321,7 +321,7 @@ wxColour wxDarkModeSettings::GetColour(wxSystemColour index)
|
||||
return wxColour(isWindows10 ? 0x202020 : 0x191919);
|
||||
|
||||
case wxSYS_COLOUR_INFOBK:
|
||||
return wxColour(isWindows10 ? 0x2b2b2b : 0x2a2a2a);
|
||||
return wxColour(isWindows10 ? 0x2b2b2b : 0x2e2e2e);
|
||||
|
||||
case wxSYS_COLOUR_BTNTEXT:
|
||||
case wxSYS_COLOUR_CAPTIONTEXT:
|
||||
|
||||
Reference in New Issue
Block a user