7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

Fix bg/fg fed to GetInfoBarColours

This commit is contained in:
Marek Roszko 2025-01-11 16:25:14 -05:00
parent 8ccf8c1138
commit 06a61e773f
2 changed files with 2 additions and 2 deletions
common/widgets
libs/kiplatform/port/wxgtk

View File

@ -59,7 +59,7 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid
m_showTimer = new wxTimer( this, ID_CLOSE_INFOBAR );
wxColour fg, bg;
KIPLATFORM::UI::GetInfoBarColours( bg, fg );
KIPLATFORM::UI::GetInfoBarColours( fg, bg );
SetBackgroundColour( bg );
SetForegroundColour( fg );
#ifdef __WXMAC__

View File

@ -64,7 +64,7 @@ wxColour KIPLATFORM::UI::GetDialogBGColour()
}
void KIPLATFORM::UI::GetInfoBarColours( wxColour& aBgColour, wxColour& aFgColour )
void KIPLATFORM::UI::GetInfoBarColours( wxColour& aFgColour, wxColour& aBgColour )
{
// The GTK3.24 way of getting the colours is to use the style context
// Earlier GTKs should be able to use the system settings