// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
- #pragma implementation "process.h"
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// ----------------------------------------------------------------------------
/* static */
-wxKillError wxProcess::Kill(int pid, wxSignal sig)
+wxKillError wxProcess::Kill(int pid, wxSignal sig, int flags)
{
wxKillError rc;
- (void)wxKill(pid, sig, &rc);
+ (void)wxKill(pid, sig, &rc, flags);
return rc;
}
{
case wxKILL_OK:
case wxKILL_ACCESS_DENIED:
- return TRUE;
+ return true;
default:
case wxKILL_ERROR:
// fall through
case wxKILL_NO_PROCESS:
- return FALSE;
+ return false;
}
}