X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=src%2Fctsim.cpp;h=495c4dabab6e26c377cba15323efeaf011bd810e;hb=9bd89ec66ff2d0cbe188730fbcad67df4e19c9b5;hp=af65da3e5ddfab2a5ff74576ee67b83eb46e19c3;hpb=728e9fcbe0b785e56e7dcd2bd305786c647050af;p=ctsim.git diff --git a/src/ctsim.cpp b/src/ctsim.cpp index af65da3..495c4da 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.100 2001/03/29 21:25:50 kevin Exp $ +** $Id: ctsim.cpp,v 1.103 2001/09/24 11:20: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 @@ -70,7 +70,7 @@ #endif #endif -static const char* rcsindent = "$Id: ctsim.cpp,v 1.100 2001/03/29 21:25:50 kevin Exp $"; +static const char* rcsindent = "$Id: ctsim.cpp,v 1.103 2001/09/24 11:20:08 kevin Exp $"; struct option CTSimApp::ctsimOptions[] = { @@ -160,7 +160,7 @@ CTSimApp::OnInit() int xDisplay, yDisplay; ::wxDisplaySize (&xDisplay, &yDisplay); m_pFrame = new MainFrame(m_docManager, (wxFrame *) NULL, -1, "CTSim", wxPoint(0, 0), - wxSize(nearest(xDisplay * .75), nearest(yDisplay * .755)), wxDEFAULT_FRAME_STYLE); + wxSize(nearest(xDisplay * .25), nearest(yDisplay * .255)), wxDEFAULT_FRAME_STYLE); setIconForFrame (m_pFrame); m_pFrame->Centre(wxBOTH); @@ -740,15 +740,6 @@ MainFrame::OnUpdateUI (wxUpdateUIEvent& rEvent) #endif } -#ifdef CTSIM_CUSTOM_MRU -void -MainFrame::OnMRUFile (wxCommandEvent& event) -{ - wxString fileName (theApp->getDocManager()->GetHistoryFile(event.GetId() - wxID_FILE1)); - if (fileName != "") - theApp->getDocManager()->CreateDocument(fileName, wxDOC_SILENT); -} -#endif void MainFrame::DoWindowMenu (int iMenuPosition, wxCommandEvent& event) @@ -1038,10 +1029,13 @@ MainFrame::OnAbout(wxCommandEvent& WXUNUSED(event) ) if (lFreeMem > 0) *theApp->getLog() << ", Free Memory: " << lFreeMem << " MB"; *theApp->getLog() << ", wxWindows: " << wxVERSION_STRING; +#ifdef __TIMESTAMP__ + *theApp->getLog() << ", Build Date: " << __TIMESTAMP__; +#endif #if defined(DEBUG) - *theApp->getLog() << ", Debug version"; + *theApp->getLog() << ", CTSim Debug version"; #else - *theApp->getLog() << ", Release version"; + *theApp->getLog() << ", CTSim Release version"; #endif *theApp->getLog() << "\n";