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

Method OnCancel

libraries/lib-wx-init/ProgressDialog.cpp:1615–1624  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1613}
1614
1615void ProgressDialog::OnCancel(wxCommandEvent & WXUNUSED(event))
1616{
1617 if (!ConfirmAction(
1618 XO("Are you sure you wish to cancel?"),
1619 XO("Confirm Cancel"), wxID_CANCEL)) {
1620 return;
1621 }
1622 FindWindowById(wxID_CANCEL, this)->Disable();
1623 mCancel = true;
1624}
1625
1626void ProgressDialog::OnStop(wxCommandEvent & WXUNUSED(event))
1627{

Callers

nothing calls this directly

Calls 1

DisableMethod · 0.80

Tested by

no test coverage detected