X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/908db3ae8a7b9411267fabccdb642904d8e399bd..e490e26798196f61e9aa7fd668ed6489b5c203a5:/docs/latex/wx/function.tex diff --git a/docs/latex/wx/function.tex b/docs/latex/wx/function.tex index ffd7eb45df..0318e25402 100644 --- a/docs/latex/wx/function.tex +++ b/docs/latex/wx/function.tex @@ -471,17 +471,23 @@ processes. \func{long}{wxExecute}{\param{const wxString\& }{command}, \param{int }{sync = wxEXEC\_ASYNC}, \param{wxProcess *}{callback = NULL}} +\perlnote{In wxPerl this function is called \texttt{Wx::ExecuteCommand}} + \func{long}{wxExecute}{\param{char **}{argv}, \param{int }{flags = wxEXEC\_ASYNC}, \param{wxProcess *}{callback = NULL}} +\perlnote{In wxPerl this function is called \texttt{Wx::ExecuteArgs}} + \func{long}{wxExecute}{\param{const wxString\& }{command}, \param{wxArrayString\& }{output}} -\perlnote{In wxPerl this function only takes the {\tt command} argument, +\perlnote{In wxPerl this function is called \texttt{Wx::ExecuteStdout} and it +only takes the {\tt command} argument, and returns a 2-element list {\tt ( status, output )}, where {\tt output} is an array reference.} \func{long}{wxExecute}{\param{const wxString\& }{command}, \param{wxArrayString\& }{output}, \param{wxArrayString\& }{errors}} -\perlnote{In wxPerl this function only takes the {\tt command} argument, +\perlnote{In wxPerl this function is called \texttt{Wx::ExecuteStdoutStderr} +and it only takes the {\tt command} argument, and returns a 3-element list {\tt ( status, output, errors )}, where {\tt output} and {\tt errors} are array references.} @@ -1512,8 +1518,6 @@ same macro which is {\tt \_TEXT()}). Don't confuse this macro with \helpref{\_()}{underscore}! -\membersection{\_}\label{underscore} - \section{Dialog functions}\label{dialogfunctions} Below are a number of convenience functions for getting input from the @@ -1950,7 +1954,7 @@ For example: int answer = wxMessageBox("Quit program?", "Confirm", wxYES_NO | wxCANCEL, main_frame); if (answer == wxYES) - delete main_frame; + main_frame->Close(); ... \end{verbatim}