Sim Window: Support dark theme

This commit is contained in:
Mikolaj Wielgus 2022-09-16 06:56:51 +02:00
parent b00178adb3
commit 545212eb13
1 changed files with 5 additions and 0 deletions

View File

@ -36,6 +36,7 @@
#include <wildcards_and_files_ext.h>
#include <widgets/tuner_slider.h>
#include <dialogs/dialog_signal_list.h>
#include <scintilla_tricks.h>
#include "string_utils.h"
#include "ngspice_helpers.h"
#include <pgm_base.h>
@ -1617,8 +1618,12 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event )
Connect( wxEVT_CLOSE_WINDOW, wxCloseEventHandler( NETLIST_VIEW_DIALOG::onClose ),
nullptr, this );
m_scintillaTricks = std::make_unique<SCINTILLA_TRICKS>( text, wxT( "{}" ), false );
finishDialogSettings();
}
std::unique_ptr<SCINTILLA_TRICKS> m_scintillaTricks;
};
if( m_schematicFrame == nullptr || m_simulator == nullptr )