Index: ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Cinema/Cinema.cpp =================================================================== --- ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Cinema/Cinema.cpp +++ ps/trunk/source/tools/atlas/AtlasUI/ScenarioEditor/Sections/Cinema/Cinema.cpp @@ -95,7 +95,7 @@ if (m_NewPathName->GetValue().empty()) return; - POST_COMMAND(AddCinemaPath, (m_NewPathName->GetValue().ToStdWstring())); + POST_COMMAND(AddCinemaPath, ((std::wstring)m_NewPathName->GetValue().wc_str())); m_NewPathName->Clear(); ReloadPathList(); } @@ -110,7 +110,7 @@ if (pathName.empty()) return; - POST_COMMAND(DeleteCinemaPath, (pathName.ToStdWstring())); + POST_COMMAND(DeleteCinemaPath, ((std::wstring)pathName.wc_str())); ReloadPathList(); }