return wxKILL_OK in krc instead of leaving it unchanged

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-04-11 22:32:44 +00:00
parent fd4b068652
commit 7a7fb211dc

View File

@@ -829,6 +829,9 @@ int wxKill(long pid, wxSignal sig, wxKillError *krc)
if ( ok && rc == STILL_ACTIVE )
{
// there is such process => success
if ( krc )
*krc = wxKILL_OK;
return 0;
}
}
@@ -837,6 +840,9 @@ int wxKill(long pid, wxSignal sig, wxKillError *krc)
if ( ok && rc != STILL_ACTIVE )
{
// killed => success
if ( krc )
*krc = wxKILL_OK;
return 0;
}
}