projects
/
ctsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
r601: no message
[ctsim.git]
/
src
/
threadraster.cpp
diff --git
a/src/threadraster.cpp
b/src/threadraster.cpp
index 6edc17b5e09554f933748e35a94e4a4c5b4064c5..607977fb0b9636e9bb2553f0e5e977fb876912e8 100644
(file)
--- 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
**
** 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
**
** 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());
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);
wxCommandEvent newImageEvent (wxEVT_COMMAND_MENU_SELECTED, NEW_IMAGEFILE_EVENT);
newImageEvent.SetClientData (pImageFile);