Browse Source

Fixes to build with wxWidgets 3.3

pcb_db
Jon Evans 10 months ago
parent
commit
9cf4dd05b3
  1. 4
      pcbnew/pcbnew_jobs_handler.cpp
  2. 2
      qa/pcbnew_utils/board_test_utils.cpp

4
pcbnew/pcbnew_jobs_handler.cpp

@ -1824,7 +1824,7 @@ int PCBNEW_JOBS_HANDLER::JobExportDrc( JOB* aJob )
if( netlist_str == annotateMsg )
{
m_reporter->Report( netlist_str + wxT( "\n" ), RPT_SEVERITY_ERROR );
m_reporter->Report( wxString( netlist_str ) + wxT( "\n" ), RPT_SEVERITY_ERROR );
checkParity = false;
}
}
@ -2125,4 +2125,4 @@ void PCBNEW_JOBS_HANDLER::loadOverrideDrawingSheet( BOARD* aBrd, const wxString&
// failed loading custom path, revert back to default
loadSheet( aBrd->GetProject()->GetProjectFile().m_BoardDrawingSheetFile );
}
}

2
qa/pcbnew_utils/board_test_utils.cpp

@ -240,7 +240,7 @@ void LoadAndTestFootprintFile( const wxString& aLibRelativePath, const wxString&
* when the cache is set up on future runs.
*/
TEMPORARY_DIRECTORY tempLib( "kicad_qa_fp_roundtrip", ".pretty" );
const wxString fpFilename = fp1->GetFPID().GetLibItemName() + ".kicad_mod";
const wxString fpFilename = fp1->GetFPID().GetLibItemName() + wxString( ".kicad_mod" );
BOOST_TEST_MESSAGE( "Resaving footprint: " << fpFilename << " in " << tempLib.GetPath() );

Loading…
Cancel
Save