Properties: fix caption text in dark mode on GTK
This commit is contained in:
parent
4134db3c47
commit
8f39dd69be
|
@ -62,6 +62,11 @@ PROPERTIES_PANEL::PROPERTIES_PANEL( wxWindow* aParent, EDA_BASE_FRAME* aFrame )
|
|||
|
||||
m_grid->SetCellDisabledTextColour( wxSystemSettings::GetColour( wxSYS_COLOUR_GRAYTEXT ) );
|
||||
|
||||
#ifdef __WXGTK__
|
||||
// Needed for dark mode, on wx 3.0 at least.
|
||||
m_grid->SetCaptionTextColour( wxSystemSettings::GetColour( wxSYS_COLOUR_CAPTIONTEXT ) );
|
||||
#endif
|
||||
|
||||
SetSizer( mainSizer );
|
||||
Layout();
|
||||
|
||||
|
|
Loading…
Reference in New Issue