make sure that wxProcess always have a valid PID set; add test unit for wxExecute,wxShell,wxProcess based on the code in the console sample; add some more infos/notes in wxProcess docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -104,9 +104,14 @@ public:
|
||||
wxInputStream *errStream);
|
||||
#endif // wxUSE_STREAMS
|
||||
|
||||
// implementation only - don't use!
|
||||
// --------------------------------
|
||||
|
||||
// needs to be public since it needs to be used from wxExecute() global func
|
||||
void SetPid(long pid) { m_pid = pid; }
|
||||
|
||||
protected:
|
||||
void Init(wxEvtHandler *parent, int id, int flags);
|
||||
void SetPid(long pid) { m_pid = pid; }
|
||||
|
||||
int m_id;
|
||||
long m_pid;
|
||||
|
Reference in New Issue
Block a user