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:
parent
8ccf8c1138
commit
06a61e773f
@ -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__
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user