X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..444cb676b239bd5d87c645c21c800053271cc348:/docs/latex/wx/sngchdlg.tex diff --git a/docs/latex/wx/sngchdlg.tex b/docs/latex/wx/sngchdlg.tex index 38670320d3..ed8b0470b5 100644 --- a/docs/latex/wx/sngchdlg.tex +++ b/docs/latex/wx/sngchdlg.tex @@ -11,6 +11,10 @@ and then pressing OK. \helpref{wxEvtHandler}{wxevthandler}\\ \helpref{wxObject}{wxobject} +\wxheading{Include files} + + + \wxheading{See also} \helpref{wxSingleChoiceDialog overview}{wxsinglechoicedialogoverview} @@ -20,15 +24,15 @@ and then pressing OK. \membersection{wxSingleChoiceDialog::wxSingleChoiceDialog}\label{wxsinglechoicedialogconstr} \func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp -\param{const wxString\& }{caption}, \param{const int }{n}, \param{const wxString* }{choices},\rtfsp -\param{char**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp +\param{const wxString\& }{caption}, \param{int }{n}, \param{const wxString* }{choices},\rtfsp +\param{void**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\rtfsp \param{const wxPoint\& }{pos = wxDefaultPosition}} 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{char**}{ clientData = NULL}, \param{long }{style = wxOK \pipe wxCANCEL \pipe wxCENTRE},\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. @@ -61,6 +65,9 @@ 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 +list of strings.} \membersection{wxSingleChoiceDialog::\destruct{wxSingleChoiceDialog}} @@ -86,6 +93,12 @@ Returns the client data associated with the selection. Returns the selected string. +\membersection{wxSingleChoiceDialog::SetSelection} + +\constfunc{void}{SetSelection}{\param{int}{ selection}} + +Sets the index of the initially selected item. + \membersection{wxSingleChoiceDialog::ShowModal}\label{wxsinglechoicedialogshowmodal} \func{int}{ShowModal}{\void}