diff --git a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp index e3d3e0a08e..d1eef50f8f 100644 --- a/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp +++ b/eeschema/sch_plugins/cadstar/cadstar_sch_archive_plugin.cpp @@ -35,6 +35,7 @@ #include #include #include +#include const wxString CADSTAR_SCH_ARCHIVE_PLUGIN::GetName() const @@ -267,7 +268,8 @@ void CADSTAR_SCH_ARCHIVE_PLUGIN::ensureLoadedLibrary( const wxString& aLibraryPa wxFileName libDir( aLibraryPath ); libDir.ClearExt(); libDir.SetName( "" ); - csafn.Normalize( wxPATH_NORM_ALL, libDir.GetAbsolutePath() ); + // wxPATH_NORM_ALL is deprecated in wxWidgets 3.1, so use our flags + csafn.Normalize( FN_NORMALIZE_FLAGS, libDir.GetAbsolutePath() ); } } else diff --git a/pcbnew/footprint_viewer_frame.cpp b/pcbnew/footprint_viewer_frame.cpp index 4263b977e0..6ab2c1ea79 100644 --- a/pcbnew/footprint_viewer_frame.cpp +++ b/pcbnew/footprint_viewer_frame.cpp @@ -1066,7 +1066,7 @@ bool FOOTPRINT_VIEWER_FRAME::ShowModal( wxString* aFootprint, wxWindow* aParent if( WX_INFOBAR* infobar = GetInfoBar() ) { button = new wxHyperlinkCtrl( infobar, wxID_ANY, - _( "Manage symol libraries" ), + _( "Manage symbol libraries" ), wxEmptyString ); button->Bind( wxEVT_COMMAND_HYPERLINK, std::function( [=]( wxHyperlinkEvent& aEvent )