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

Method OnOk

src/import/ImportStreamDialog.cpp:66–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void ImportStreamDialog::OnOk(wxCommandEvent & WXUNUSED(event))
67{
68 wxArrayInt selitems;
69 int sels = StreamList->GetSelections(selitems);
70 for (wxInt32 i = 0; i < sels; i++)
71 mFile->SetStreamUsage(selitems[i],TRUE);
72 EndModal( wxID_OK );
73}
74
75void ImportStreamDialog::OnCancel(wxCommandEvent & WXUNUSED(event))
76{

Callers

nothing calls this directly

Calls 2

GetSelectionsMethod · 0.45
SetStreamUsageMethod · 0.45

Tested by

no test coverage detected