X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e02f5ed14d30d059c2f94a871f25a5a7ff8eee9..91fa114d88972cdfe698343560f3ef5d17b4eac1:/docs/latex/wx/sngchdlg.tex diff --git a/docs/latex/wx/sngchdlg.tex b/docs/latex/wx/sngchdlg.tex index 62173d4505..dc20408a68 100644 --- a/docs/latex/wx/sngchdlg.tex +++ b/docs/latex/wx/sngchdlg.tex @@ -30,12 +30,12 @@ and then pressing OK. Constructor, taking an array of wxString choices and optional client data. -\func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp -\param{const wxString\& }{caption}, \param{const wxStringList\& }{choices},\rtfsp -\param{void**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp -\param{const wxPoint\& }{pos = wxDefaultPosition}} - -Constructor, taking a string list and optional client data. +%\func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp +%\param{const wxString\& }{caption}, \param{const wxStringList\& }{choices},\rtfsp +%\param{void**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp +%\param{const wxPoint\& }{pos = wxDefaultPosition}} +% +%Constructor, taking a string list and optional client data. \wxheading{Parameters} @@ -65,10 +65,14 @@ Constructor, taking a string list and optional client data. Use \helpref{wxSingleChoiceDialog::ShowModal}{wxsinglechoicedialogshowmodal} to show the dialog. -\pythonnote{For Python the two parametes \tt{n} and \tt{choices} are collapsed -into a single parameter \tt{choices} which is expected to be a Python +\pythonnote{For Python the two parameters {\tt n} and {\tt choices} are collapsed +into a single parameter {\tt choices} which is expected to be a Python list of strings.} +\perlnote{In wxPerl there is just an array reference in place of {\tt n} +and {\tt choices}, and the client data array, if present, must have the +same length as the choices array.} + \membersection{wxSingleChoiceDialog::\destruct{wxSingleChoiceDialog}} \func{}{\destruct{wxSingleChoiceDialog}}{\void}