From a4fba7014ecfde25083c3a4854218805ea0fede8 Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Thu, 1 Apr 2021 11:24:36 +0100 Subject: [PATCH] Give the infobar a reasonable colour on Mac. --- common/widgets/infobar.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/widgets/infobar.cpp b/common/widgets/infobar.cpp index d529471993..3cb91dcf1f 100644 --- a/common/widgets/infobar.cpp +++ b/common/widgets/infobar.cpp @@ -52,6 +52,8 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid { m_showTimer = new wxTimer( this, ID_CLOSE_INFOBAR ); + SetBackgroundColour( wxSystemSettings::GetColour( wxSYS_COLOUR_INFOBK ) ); + SetShowHideEffects( wxSHOW_EFFECT_ROLL_TO_BOTTOM, wxSHOW_EFFECT_ROLL_TO_TOP ); SetEffectDuration( 300 );