|
|
@ -70,7 +70,7 @@ PANEL_ESERIES_DISPLAY::PANEL_ESERIES_DISPLAY( wxWindow * parent, wxWindowID id, |
|
|
|
// making the value boxes appear to be separated from each other.
|
|
|
|
// Also force text to always be black so it is visible against the light
|
|
|
|
// colored cells in both light and dark modes.
|
|
|
|
wxColour gridLineColour = parent->GetBackgroundColour(); |
|
|
|
wxColour gridLineColour = parent ? parent->GetBackgroundColour() : wxSystemSettings::GetColour( wxSYS_COLOUR_WINDOW ); |
|
|
|
|
|
|
|
m_GridEseries112->SetDefaultCellTextColour( *wxBLACK ); |
|
|
|
m_GridEseries112->SetGridLineColour( gridLineColour ); |
|
|
|