// Author: Vaclav Slavik
// RCS-ID: $Id$
// Copyright: (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
-// License: wxWindows licence
+// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// ----------------------------------------------------------------------------
{
event_t evt;
- // VS: The code bellow is equal to MGL's EVT_halt implementation, with
- // two things added: sleeping (busy waiting is stupid, lets make CPU's
- // life a bit easier) and timers updating
+ // VS: The code below is equal to MGL's EVT_halt implementation, with
+ // two things added: sleeping (busy waiting is stupid, let's make CPU's
+ // life a bit easier) and timers updating.
// EVT_halt(&evt, EVT_EVERYEVT);
for (;;)
OnExit();
int exitcode = m_impl->GetExitCode();
- delete m_impl;
- m_impl = NULL;
+ wxDELETE(m_impl);
return exitcode;
}