X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5336ece42c19e6acb1ca01b7bc29772e18540c99..9a05fd8d137bbe26acd4f86adf6d62c55424822c:/include/wx/process.h?ds=sidebyside diff --git a/include/wx/process.h b/include/wx/process.h index dc4d5a43a9..b612306a66 100644 --- a/include/wx/process.h +++ b/include/wx/process.h @@ -2,11 +2,11 @@ // Name: process.h // Purpose: wxProcess class // Author: Guilhem Lavaux -// Modified by: +// Modified by: Vadim Zeitlin to check error codes, added Detach() method // Created: 24/06/98 // RCS-ID: $Id$ // Copyright: (c) 1998 Guilhem Lavaux -// Licence: wxWindows license +// Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_PROCESSH__ @@ -55,6 +55,10 @@ public: virtual void OnTerminate(int pid, int status); + // detach from the parent - should be called by the parent if it's deleted + // before the process it started terminates + void Detach(); + protected: int m_id; };