** This is part of the CTSim program
** Copyright (C) 1983-2001 Kevin Rosenberg
**
-** $Id: backgroundsupr.cpp,v 1.1 2001/02/25 06:32:12 kevin Exp $
+** $Id: backgroundsupr.cpp,v 1.2 2001/02/25 07:36:26 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
while (m_bBackgroundTaskAdded) {
Sleep(50);
- ::wxYield();
+ ProcessPendingEvents();
}
delete m_pTimer;
while (m_iRunning > 0) {
Sleep(50);
- ::wxYield();
+ ProcessPendingEvents();
}
}