From e1a3a8338ca2c695a8240adbc2f110c6a4b2e442 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 1 Apr 2021 18:08:58 +0100 Subject: [PATCH] File left out of previous commit. --- common/widgets/infobar.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/common/widgets/infobar.cpp b/common/widgets/infobar.cpp index 3cb91dcf1f..74fdc72e87 100644 --- a/common/widgets/infobar.cpp +++ b/common/widgets/infobar.cpp @@ -52,7 +52,10 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid { m_showTimer = new wxTimer( this, ID_CLOSE_INFOBAR ); - SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) ); +#ifdef __WXMAC__ + // wxWidgets hard-codes wxSYS_COLOUR_INFOBK to { 0xFF, 0xFF, 0xD3 } on Mac. + SetBackgroundColour( wxColour( 255, 249, 189 ) ); +#endif SetShowHideEffects( wxSHOW_EFFECT_ROLL_TO_BOTTOM, wxSHOW_EFFECT_ROLL_TO_TOP ); SetEffectDuration( 300 );