| 222 | } |
| 223 | |
| 224 | int AudacityCommand::MessageBox( |
| 225 | const TranslatableString& message, long style, |
| 226 | const TranslatableString &titleStr) |
| 227 | { |
| 228 | auto title = titleStr.empty() |
| 229 | ? GetName() |
| 230 | : XO("%s: %s").Format( GetName(), titleStr ); |
| 231 | return AudacityMessageBox(message, title, style, mUIParent); |
| 232 | } |
| 233 | |
| 234 | BEGIN_EVENT_TABLE(AudacityCommandDialog, wxDialogWrapper) |
| 235 | EVT_BUTTON(wxID_OK, AudacityCommandDialog::OnOk) |
no test coverage detected