| 152 | } |
| 153 | |
| 154 | void MacroCommandDialog::OnOk(wxCommandEvent & WXUNUSED(event)) |
| 155 | { |
| 156 | mSelectedCommand = mInternalCommandName |
| 157 | // .Strip(wxString::both) // PRL: used to do this, here only, |
| 158 | // but ultimately mSelectedCommand is looked up in the catalog without |
| 159 | // similar adjustment of whitespace in the comparison |
| 160 | ; |
| 161 | mSelectedParameters = mParameters->GetValue().Strip(wxString::trailing); |
| 162 | EndModal(true); |
| 163 | } |
| 164 | |
| 165 | void MacroCommandDialog::OnCancel(wxCommandEvent & WXUNUSED(event)) |
| 166 | { |