Fix build on Linux

wxString does not automatically cast to std::string
This commit is contained in:
Jon Evans 2021-08-14 09:57:01 -04:00
parent 8eba0b356b
commit aae0e7e121
1 changed files with 6 additions and 6 deletions

View File

@ -238,7 +238,7 @@ COLOR_SETTINGS::COLOR_SETTINGS( const wxString& aFilename ) :
// We don't support opacity in some 3D colors but some versions of 5.99 let
// you set it.
for( wxString path : { "3d_viewer.background_top",
for( std::string path : { "3d_viewer.background_top",
"3d_viewer.background_bottom",
"3d_viewer.copper",
"3d_viewer.silkscreen_top",