X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fctsim.cpp;h=6f6d6b1632e0194143e056a90f7844e4e97628b2;hp=eea9e604afc462a078fa334cf802bb9d3f218e29;hb=ab78de6e33fff94c37847621458db3ad430a8bb3;hpb=8e3ba3d86e5b1293140adab70ecc0b6a20e2f651 diff --git a/src/ctsim.cpp b/src/ctsim.cpp index eea9e60..6f6d6b1 100644 --- a/src/ctsim.cpp +++ b/src/ctsim.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: ctsim.cpp,v 1.118 2002/06/20 11:55:44 kevin Exp $ +** $Id: ctsim.cpp,v 1.119 2002/06/27 03:19:23 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 @@ -69,7 +69,7 @@ #endif #endif -static const char* rcsindent = "$Id: ctsim.cpp,v 1.118 2002/06/20 11:55:44 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.119 2002/06/27 03:19:23 kevin Exp $"; struct option CTSimApp::ctsimOptions[] = { @@ -1019,11 +1019,8 @@ MainFrame::OnImport (wxCommandEvent& WXUNUSED(event) ) void MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) ) { - long lFreeMem = ::wxGetFreeMemory() / (1024L * 1024L); wxString strOSDesc = ::wxGetOsDescription(); *theApp->getLog() << "Operating System: " << strOSDesc; - if (lFreeMem > 0) - *theApp->getLog() << ", Free Memory: " << lFreeMem << " MB"; *theApp->getLog() << ", wxWindows: " << wxVERSION_STRING; #ifdef __TIMESTAMP__ *theApp->getLog() << ", Build Date: " << __TIMESTAMP__; @@ -1034,9 +1031,9 @@ MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) ) *theApp->getLog() << ", Release version"; #endif #ifdef VERSION - *theApp->getLog() << " " << VERSION; -#elif defined(CTSIMVERSION) - *theApp->getLog() << " " << CTSIMVERSION; + *theApp->getLog() << " " << VERSION; +#elif defined(CTSIMVERSION) + *theApp->getLog() << " " << CTSIMVERSION; #endif *theApp->getLog() << "\n";