r646: Reworked EZPlotDialog compilation
[ctsim.git] / src / ctsim.cpp
index 9d7e87052cd0b9ab9fc7adb10525ee52f7eaff22..af65da3e5ddfab2a5ff74576ee67b83eb46e19c3 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (c) 1983-2001 Kevin Rosenberg
 **
-**  $Id: ctsim.cpp,v 1.99 2001/03/21 21:45:31 kevin Exp $
+**  $Id: ctsim.cpp,v 1.100 2001/03/29 21:25:50 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
@@ -70,7 +70,7 @@
 #endif
 #endif
 
-static const char* rcsindent = "$Id: ctsim.cpp,v 1.99 2001/03/21 21:45:31 kevin Exp $";
+static const char* rcsindent = "$Id: ctsim.cpp,v 1.100 2001/03/29 21:25:50 kevin Exp $";
 
 struct option CTSimApp::ctsimOptions[] = 
 {
@@ -1034,9 +1034,16 @@ MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
 {
   long lFreeMem = ::wxGetFreeMemory() / (1024L * 1024L);
   wxString strOSDesc = ::wxGetOsDescription();
-  *theApp->getLog() << "Operation System: " << strOSDesc;
+  *theApp->getLog() << "Operating System: " << strOSDesc;
   if (lFreeMem > 0)
     *theApp->getLog() << ",  Free Memory: " << lFreeMem << " MB";
+  *theApp->getLog() << ", wxWindows: " << wxVERSION_STRING;
+#if defined(DEBUG)
+  *theApp->getLog() << ", Debug version";
+#else
+  *theApp->getLog() << ", Release version";
+#endif
+
   *theApp->getLog() << "\n";
   
   wxBitmap bmp (splash);
@@ -1055,6 +1062,7 @@ MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) )
     msg += "Author: Kevin Rosenberg <kevin@rosenberg.net>\nUsage: ctsim [files-to-open..] [--help]";
     
     wxMessageBox(msg, "About CTSim", wxOK | wxICON_INFORMATION, this);
+    *theApp->getLog() << msg << "\n";
   }
 }