X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.cpp;h=8ceaf03501b79bd47e73e223d02ef27aa1b10c61;hp=2edb737e0e0c74af7c010acf7a521b75dddb0884;hb=267a9d7d6a5fea883f2797c050a6fbf5cc037276;hpb=7e49f87d04a388bd03b85596fe356c6ad239e60b diff --git a/src/views.cpp b/src/views.cpp index 2edb737..8ceaf03 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.cpp,v 1.22 2000/09/07 01:28:33 kevin Exp $ +** $Id: views.cpp,v 1.23 2000/10/11 08:16:08 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -396,9 +396,9 @@ void PhantomView::OnProperties (wxCommandEvent& event) { const int idPhantom = GetDocument()->getPhantomID(); - const string& namePhantom = GetDocument()->getPhantomName(); + const wxString& namePhantom = GetDocument()->getPhantomName(); ostringstream os; - os << "Phantom " << namePhantom << " (" << idPhantom << ")\n"; + os << "Phantom " << namePhantom.c_str() << " (" << idPhantom << ")\n"; *theApp->getLog() << os.str().c_str(); #if DEBUG const Phantom& rPhantom = GetDocument()->getPhantom();