]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/procevt.tex
silence gcc warnings about values not handled in switch
[wxWidgets.git] / docs / latex / wx / procevt.tex
index 32663ecf35c6a6e1c66eaaaddd7cb0147f6efe2e..e21b04e3296ecd8466981e605ed9af2107ec5b5a 100644 (file)
@@ -7,6 +7,10 @@ A process event is sent when a process is terminated.
 \helpref{wxEvent}{wxevent}\\
 \helpref{wxObject}{wxobject}
 
+\wxheading{Include files}
+
+<wx/process.h>
+
 \wxheading{Event table macros}
 
 To process a wxProcessEvent, use these event handler macros to direct input to a member
@@ -26,27 +30,28 @@ or a window to receive the event.}
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-\membersection{wxProcessEvent::wxProcessEvent}
-
-\func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}}
-
-Constructor. Takes a wxProcessObject or window id, and a process id.
-
-\membersection{wxProcessEvent::m\_pid}
+\membersection{wxProcessEvent::wxProcessEvent}\label{wxprocesseventctor}
 
-\member{int}{m\_pid}
+\func{}{wxProcessEvent}{\param{int }{id = 0}, \param{int }{pid = 0}, \param{int }{exitcode = 0}}
 
-Contains the process id.
+Constructor. Takes a wxProcessObject or window id, a process id and an
+exit status.
 
+%\membersection{wxProcessEvent::m\_pid}
+%
+%\member{int}{m\_pid}
+%
+%Contains the process id.
+%
 \membersection{wxProcessEvent::GetPid}\label{wxprocesseventgetpid}
 
 \constfunc{int}{GetPid}{\void}
 
 Returns the process id.
 
-\membersection{wxProcessEvent::SetPid}\label{wxprocesseventsetpid}
+\membersection{wxProcessEvent::GetExitCode}\label{wxprocesseventgetexitcode}
 
-\func{void}{SetPid}{\param{int}{ pid}}
+\func{int}{GetExitCode}{\void}
 
-Sets the process id.
+Returns the exist status.