added wxSingleChoiceDialog::SetSelection

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-12-15 00:31:58 +00:00
parent 2e8005ccaf
commit 44178d9214

View File

@ -25,14 +25,14 @@ and then pressing OK.
\func{}{wxSingleChoiceDialog}{\param{wxWindow* }{parent}, \param{const wxString\& }{message},\rtfsp
\param{const wxString\& }{caption}, \param{int }{n}, \param{const wxString* }{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 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.
@ -90,6 +90,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}