Check wxHAS_NATIVE_TABART before using the simple tab art

This commit is contained in:
Marek Roszko 2021-04-22 22:24:20 -04:00
parent 263e026ac4
commit 8a8475630e
1 changed files with 4 additions and 0 deletions

View File

@ -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 );