X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fthreadproj.cpp;h=a5105aa910409315b453174825dd31f7c17586d4;hp=1cc4bce8e9f74d6c66553a07cce61ad88373b0d5;hb=15582f4ca80f519d7ddca580ff8cb852878fd2a2;hpb=8cce345df80fdbeea1c03a04a71d805951a87b74 diff --git a/src/threadproj.cpp b/src/threadproj.cpp index 1cc4bce..a5105aa 100644 --- a/src/threadproj.cpp +++ b/src/threadproj.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: threadproj.cpp,v 1.9 2001/03/04 03:14:47 kevin Exp $ +** $Id: threadproj.cpp,v 1.10 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 @@ -156,10 +156,15 @@ ProjectorSupervisor::onDone() Projections* pProjections = getProjections(); pProjections->setRemark (m_pszLabel); pProjections->setCalcTime (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 newProjEvent (wxEVT_COMMAND_MENU_SELECTED, NEW_PROJECTIONFILE_EVENT); - newImageEvent.SetClientData (pProjections); + newProjEvent.SetClientData (pProjections); wxPostEvent (theApp->getMainFrame(), newProjEvent); setDone();