git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9508
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
int WXUNUSED(width), int WXUNUSED(height))
{
wxMultiChoiceDialog dialog(parent, message, caption, n, choices);
int WXUNUSED(width), int WXUNUSED(height))
{
wxMultiChoiceDialog dialog(parent, message, caption, n, choices);
+
+ if ( !selections.IsEmpty() )
+ dialog.SetSelections(selections);
+
if ( dialog.ShowModal() == wxID_OK )
selections = dialog.GetSelections();
else
if ( dialog.ShowModal() == wxID_OK )
selections = dialog.GetSelections();
else