X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae3c17b4013e80b99976c750c19fca47729517f6..23efa4bfb9104d6ef947a217efa80b2bc5bf9e76:/interface/wx/process.h?ds=sidebyside diff --git a/interface/wx/process.h b/interface/wx/process.h index 1401717d76..f64eb96774 100644 --- a/interface/wx/process.h +++ b/interface/wx/process.h @@ -44,7 +44,6 @@ enum wxKillError /** @class wxProcess - @wxheader{process.h} The objects of this class are used in conjunction with the ::wxExecute() function. When a wxProcess object is passed to ::wxExecute(), its OnTerminate() virtual method @@ -101,7 +100,7 @@ public: /** Destroys the wxProcess object. */ - ~wxProcess(); + virtual ~wxProcess(); /** Closes the output stream (the one connected to the stdin of the child @@ -203,7 +202,7 @@ public: @see Exists(), wxKill(), @ref page_samples_exec "Exec sample" */ - static wxKillError Kill(int pid, wxSignal signal = wxSIGNONE, + static wxKillError Kill(int pid, wxSignal sig = wxSIGTERM, int flags = wxKILL_NOCHILDREN); /** @@ -215,7 +214,7 @@ public: @param status The exit code of the process. */ - void OnTerminate(int pid, int status); + virtual void OnTerminate(int pid, int status); /** This static method replaces the standard @c popen() function: it launches @@ -258,7 +257,6 @@ public: /** @class wxProcessEvent - @wxheader{process.h} A process event is sent when a process is terminated. @@ -292,6 +290,6 @@ public: /** Returns the process id. */ - int GetPid() const; + int GetPid(); };