MCPcopy Create free account
hub / github.com/audacity/audacity / MessageBox

Method MessageBox

src/commands/AudacityCommand.cpp:224–232  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

222}
223
224int 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
234BEGIN_EVENT_TABLE(AudacityCommandDialog, wxDialogWrapper)
235 EVT_BUTTON(wxID_OK, AudacityCommandDialog::OnOk)

Callers 1

BenchmarkMethod · 0.80

Calls 2

AudacityMessageBoxFunction · 0.85
emptyMethod · 0.45

Tested by

no test coverage detected