X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fthreadrecon.cpp;h=7f4e9518ba30566c16d0b577b2c08aafadc86b89;hp=66eb0474914b258f1d331a6f2d2dbdd2a436d46f;hb=15582f4ca80f519d7ddca580ff8cb852878fd2a2;hpb=8cce345df80fdbeea1c03a04a71d805951a87b74 diff --git a/src/threadrecon.cpp b/src/threadrecon.cpp index 66eb047..7f4e951 100644 --- a/src/threadrecon.cpp +++ b/src/threadrecon.cpp @@ -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);