X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fthreadraster.cpp;h=607977fb0b9636e9bb2553f0e5e977fb876912e8;hp=6edc17b5e09554f933748e35a94e4a4c5b4064c5;hb=15582f4ca80f519d7ddca580ff8cb852878fd2a2;hpb=8cce345df80fdbeea1c03a04a71d805951a87b74 diff --git a/src/threadraster.cpp b/src/threadraster.cpp index 6edc17b..607977f 100644 --- a/src/threadraster.cpp +++ b/src/threadraster.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2001 Kevin Rosenberg ** -** $Id: threadraster.cpp,v 1.4 2001/03/04 03:14:47 kevin Exp $ +** $Id: threadraster.cpp,v 1.5 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 @@ -141,7 +141,12 @@ RasterizerSupervisor::onDone() ImageFile* pImageFile = getImageFile(); 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);