git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14923
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
/* static */
bool wxProcess::Exists(int pid)
{
/* static */
bool wxProcess::Exists(int pid)
{
- switch ( wxProcess::Kill(pid, wxSIGNONE) )
+ switch ( Kill(pid, wxSIGNONE) )
{
case wxKILL_OK:
case wxKILL_ACCESS_DENIED:
{
case wxKILL_OK:
case wxKILL_ACCESS_DENIED:
int err = kill((pid_t)pid, (int)sig);
if ( rc )
{
int err = kill((pid_t)pid, (int)sig);
if ( rc )
{
{
case 0:
*rc = wxKILL_OK;
{
case 0:
*rc = wxKILL_OK;