r601: no message
[ctsim.git] / src / threadrecon.cpp
index 66eb0474914b258f1d331a6f2d2dbdd2a436d46f..7f4e9518ba30566c16d0b577b2c08aafadc86b89 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2001 Kevin Rosenberg
 **
-**  $Id: threadrecon.cpp,v 1.17 2001/03/04 03:14:47 kevin Exp $
+**  $Id: threadrecon.cpp,v 1.18 2001/03/04 04:16:20 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
@@ -150,7 +150,12 @@ ReconstructorSupervisor::onDone()
   ImageFile* pImageFile = getImageFile();
   pImageFile->labelAdd (m_pProjView->GetDocument()->getProjections().getLabel());
   pImageFile->labelAdd (m_pszLabel, getTimerEnd());
-  //  *theApp->getLog() << m_pszLabel << "\n";
+
+  wxCommandEvent eventLog (wxEVT_COMMAND_MENU_SELECTED, MAINMENU_LOG_EVENT );
+  wxString msg (m_pszLabel);
+  msg += "\n";
+  eventLog.SetString( msg );
+  wxPostEvent( theApp->getMainFrame(), eventLog ); // send log event
 
   wxCommandEvent newImageEvent (wxEVT_COMMAND_MENU_SELECTED, NEW_IMAGEFILE_EVENT);
   newImageEvent.SetClientData (pImageFile);