.\" This is a wxWidgets manpage page generated from the XML docs .TH wxMultiChoiceDialog 3wx 2005-02-15 "wxWidgets" "wxWidgets class documentation" .SH NAME wxMultiChoiceDialog \- Dialog to get one or more selections from a list .SH DESCRIPTION This class represents a dialog that shows a list of strings, and allows the user to select one or more. .SH "PARENTS" wxDialog wxWindow wxEvtHandler wxObject .SH "INCLUDE FILES" wx/choicdlg.h .SH MEMBERS .SS wxMultiChoiceDialog (wxWindow* parentconst wxString& messageconst wxString& captionint nconst wxString* choiceslong style = wxCHOICEDLG_STYLEconst wxPoint& pos = wxDefaultPosition) .SS wxMultiChoiceDialog (wxWindow* parentconst wxString& messageconst wxString& captionconst wxArrayString& choiceslong style = wxCHOICEDLG_STYLEconst wxPoint& pos = wxDefaultPosition) Constructor taking an array of wxString choices. .SS wxArrayInt GetSelection () Returns array with indexes of selected items. .SS void SetSelections (const wxArrayInt& selections) Sets selected items from the array of selected items' indexes. .SS int ShowModal () Shows the dialog, returning either wxID_OK or wxID_CANCEL. .SH "SEE ALSO" wxDialog wxWindow wxEvtHandler wxObject wxMultiChoiceDialog overview , wxSingleChoiceDialog .SH "AUTHORS" Documentation content by Julian Smart, Robert Roebling, Vadim Zeitlin, Robin Dunn, et al Conversion to manpage format by Arnout Engelen (http://bzzt.net), bugreports welcome.