X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5336ece42c19e6acb1ca01b7bc29772e18540c99..c96faa7c9b1926d63a2fff32ac4508d3138a7bee:/include/wx/process.h 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; };