Index: source/tools/atlas/AtlasUI/CustomControls/MapDialog/MapDialog.cpp =================================================================== --- source/tools/atlas/AtlasUI/CustomControls/MapDialog/MapDialog.cpp +++ source/tools/atlas/AtlasUI/CustomControls/MapDialog/MapDialog.cpp @@ -166,11 +166,11 @@ else { wxString filePath = GetSelectedFilePath(); - AtlasMessage::qVFSFileExists fileExistsQuery(filePath.wc_str()); + AtlasMessage::qVFSFileExists fileExistsQuery(static_cast(filePath.wc_str())); fileExistsQuery.Post(); if (!filePath.IsEmpty() && fileExistsQuery.exists) { - AtlasMessage::qVFSFileRealPath pathQuery(filePath.wc_str()); + AtlasMessage::qVFSFileRealPath pathQuery(static_cast(filePath.wc_str())); pathQuery.Post(); wxDynamicCast(FindWindow(ID_MapDialogFilename), wxTextCtrl)->ChangeValue(*pathQuery.realPath); } @@ -221,7 +221,7 @@ if (filePath.empty()) return; - AtlasMessage::qVFSFileExists qry(filePath.wc_str()); + AtlasMessage::qVFSFileExists qry(static_cast(filePath.wc_str())); qry.Post(); if (!qry.exists) return; @@ -236,7 +236,7 @@ return; // TODO: this test would work better outside the VFS - AtlasMessage::qVFSFileExists qry(filePath.wc_str()); + AtlasMessage::qVFSFileExists qry(static_cast(filePath.wc_str())); qry.Post(); if (qry.exists) { Index: source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp =================================================================== --- source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp +++ source/tools/atlas/AtlasUI/ScenarioEditor/ScenarioEditor.cpp @@ -748,7 +748,7 @@ wxBusyInfo busy(_("Loading ") + name); wxBusyCursor busyc; - AtlasMessage::qVFSFileExists qry(filename.wc_str()); + AtlasMessage::qVFSFileExists qry(static_cast(filename.wc_str())); qry.Post(); if (!qry.exists) return false;