Fix build on Linux
wxString does not automatically cast to std::string
This commit is contained in:
parent
8eba0b356b
commit
aae0e7e121
|
@ -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
|
// We don't support opacity in some 3D colors but some versions of 5.99 let
|
||||||
// you set it.
|
// you set it.
|
||||||
|
|
||||||
for( wxString path : { "3d_viewer.background_top",
|
for( std::string path : { "3d_viewer.background_top",
|
||||||
"3d_viewer.background_bottom",
|
"3d_viewer.background_bottom",
|
||||||
"3d_viewer.copper",
|
"3d_viewer.copper",
|
||||||
"3d_viewer.silkscreen_top",
|
"3d_viewer.silkscreen_top",
|
||||||
|
|
Loading…
Reference in New Issue