mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 10:13:19 +02:00
Fix bg/fg fed to GetInfoBarColours
(cherry picked from commit 06a61e773f061d63fc1cbec1f64fb5ea710560c1)
This commit is contained in:
parent
1ce834f529
commit
48e405c769
@ -59,7 +59,7 @@ WX_INFOBAR::WX_INFOBAR( wxWindow* aParent, wxAuiManager* aMgr, wxWindowID aWinid
|
|||||||
m_showTimer = new wxTimer( this, ID_CLOSE_INFOBAR );
|
m_showTimer = new wxTimer( this, ID_CLOSE_INFOBAR );
|
||||||
|
|
||||||
wxColour fg, bg;
|
wxColour fg, bg;
|
||||||
KIPLATFORM::UI::GetInfoBarColours( bg, fg );
|
KIPLATFORM::UI::GetInfoBarColours( fg, bg );
|
||||||
SetBackgroundColour( bg );
|
SetBackgroundColour( bg );
|
||||||
SetForegroundColour( fg );
|
SetForegroundColour( fg );
|
||||||
#ifdef __WXMAC__
|
#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
|
// The GTK3.24 way of getting the colours is to use the style context
|
||||||
// Earlier GTKs should be able to use the system settings
|
// Earlier GTKs should be able to use the system settings
|
||||||
|
Loading…
x
Reference in New Issue
Block a user