From 8a8475630e7a34bb516859c523d2c3f76a700733 Mon Sep 17 00:00:00 2001 From: Marek Roszko Date: Thu, 22 Apr 2021 22:24:20 -0400 Subject: [PATCH] Check wxHAS_NATIVE_TABART before using the simple tab art --- eeschema/sim/sim_plot_frame.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/eeschema/sim/sim_plot_frame.cpp b/eeschema/sim/sim_plot_frame.cpp index b1954570f9..8b21b26e7f 100644 --- a/eeschema/sim/sim_plot_frame.cpp +++ b/eeschema/sim/sim_plot_frame.cpp @@ -222,7 +222,11 @@ SIM_PLOT_FRAME::SIM_PLOT_FRAME( KIWAY* aKiway, wxWindow* aParent ) : m_toolBar->Realize(); +#ifndef wxHAS_NATIVE_TABART + // Non-native default tab art has ulgy gradients we don't want m_plotNotebook->SetArtProvider( new wxAuiSimpleTabArt() ); +#endif + m_welcomePanel = new SIM_PANEL_BASE( wxEmptyString, m_plotNotebook, wxID_ANY ); m_plotNotebook->AddPage( m_welcomePanel, _( "Welcome!" ), 1, true );