File left out of previous commit.

This commit is contained in:
Jeff Young 2021-04-01 18:08:58 +01:00
parent dce351791c
commit e1a3a8338c
1 changed files with 4 additions and 1 deletions

View File

@ -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 );