** 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
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);