X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fdocs.cpp;h=3f38883388fd67a5cd37bd2de07c11f51848f783;hb=dca8d386ab6a4e33050b456cff4547d6adfdf249;hp=a47d8d993fe4f952e93edace295168acef3098aa;hpb=dcc87ab716636e2464e104e6d79d031b2ec6b925;p=ctsim.git diff --git a/src/docs.cpp b/src/docs.cpp index a47d8d9..3f38883 100644 --- a/src/docs.cpp +++ b/src/docs.cpp @@ -275,7 +275,7 @@ PhantomFileDocument::OnOpenDocument(const wxString& constFilename) wxString filename (constFilename); if (wxFile::Exists (filename)) { - m_phantom.createFromFile (filename.mb_str(wxConvUTF8)); + m_phantom.createFromPhmFile (filename.mb_str(wxConvUTF8)); if (theApp->getVerboseLogging()) *theApp->getLog() << _T("Read phantom file ") << filename << _T("\n"); } else {