Explicitly convert std::string to wxString
In wxWidgets STL builds the compiler has multiple, ambigous choices for converting - both arguments to std::string first, or just the first to wxString. Fixes #13432.
This commit is contained in:
parent
06a2e950fd
commit
1df81b10e6
|
@ -1710,7 +1710,7 @@ void SIM_PLOT_FRAME::onShowNetlist( wxCommandEvent& event )
|
|||
m_circuitModel->SetSimOptions( getCurrentOptions() );
|
||||
m_circuitModel->GetNetlist( &formatter, reporter );
|
||||
|
||||
NETLIST_VIEW_DIALOG dlg( this, errors.IsEmpty() ? formatter.GetString() : errors );
|
||||
NETLIST_VIEW_DIALOG dlg( this, errors.IsEmpty() ? wxString( formatter.GetString() ) : errors );
|
||||
dlg.ShowModal();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue