menu_.Append(j, choices[j]);
wxString s = choices[j]; if(-1 == s.Find('&')) s.Prepend('&'); menu_.Append(j, s);
wxSingleChoicePopupMenu::wxSingleChoicePopupMenu    (wxArrayString const& choices    ,wxString const& title    ,wxWindow* parent    )    :wxWindow(parent, -1, wxDefaultPosition, wxSize(0, 0))    ,selection_index_(-1){    if(!title.IsEmpty())        {        menu_.Append(1 + wxID_HIGHEST, title);        menu_.Enable(1 + wxID_HIGHEST, false);        menu_.AppendSeparator();        }    for(unsigned int j = 0; j < choices.GetCount(); ++j)        {        menu_.Append(j, choices[j]);        }    Connect        (0        ,choices.GetCount()        ,wxEVT_COMMAND_MENU_SELECTED        ,(wxObjectEventFunction)(&wxSingleChoicePopupMenu::OnMenuChoice)        );}