+ return true;
+}
+
+bool wxAnyChoiceDialog::Create(wxWindow *parent,
+ const wxString& message,
+ const wxString& caption,
+ const wxArrayString& choices,
+ long styleDlg,
+ const wxPoint& pos,
+ long styleLbox)
+{
+ wxCArrayString chs(choices);
+ return Create(parent, message, caption, chs.GetCount(), chs.GetStrings(),
+ styleDlg, pos, styleLbox);
+}
+
+wxListBoxBase *wxAnyChoiceDialog::CreateList(int n, const wxString *choices, long styleLbox)
+{
+ wxSize size = wxDefaultSize;
+ if (wxSystemSettings::GetScreenType() > wxSYS_SCREEN_PDA)
+ size = wxSize(300, 200);
+ return new wxListBox( this, wxID_LISTBOX,
+ wxDefaultPosition, size,
+ n, choices,
+ styleLbox );