7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-18 19:29:17 +00:00

Fixes to build with wxWidgets 3.3

This commit is contained in:
Jon Evans 2025-01-24 22:33:00 -05:00
parent 4e80c6fdc1
commit 9cf4dd05b3
2 changed files with 3 additions and 3 deletions

View File

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

View File

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