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

Method OnStop

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

Source from the content-addressed store, hash-verified

1624}
1625
1626void ProgressDialog::OnStop(wxCommandEvent & WXUNUSED(event))
1627{
1628 if (!ConfirmAction(
1629 XO("Are you sure you wish to stop?"),
1630 XO("Confirm Stop"), wxID_OK)) {
1631 return;
1632 }
1633 FindWindowById(wxID_OK, this)->Disable();
1634 mCancel = false;
1635 mStop = true;
1636}
1637
1638void ProgressDialog::OnCloseWindow(wxCloseEvent & WXUNUSED(event))
1639{

Callers

nothing calls this directly

Calls 1

DisableMethod · 0.80

Tested by

no test coverage detected