mirror of
https://github.com/cookiengineer/audacity
synced 2025-05-06 14:52:34 +02:00
Add Help button to Export Multiple dialog
This commit is contained in:
parent
3d6f3f1866
commit
217c1267bd
@ -81,6 +81,7 @@ BEGIN_EVENT_TABLE(ExportMultiple, wxDialogWrapper)
|
||||
EVT_BUTTON(ChooseID, ExportMultiple::OnChoose)
|
||||
EVT_BUTTON(wxID_OK, ExportMultiple::OnExport)
|
||||
EVT_BUTTON(wxID_CANCEL, ExportMultiple::OnCancel)
|
||||
EVT_BUTTON(wxID_HELP, ExportMultiple::OnHelp)
|
||||
EVT_RADIOBUTTON(LabelID, ExportMultiple::OnLabel)
|
||||
EVT_RADIOBUTTON(TrackID, ExportMultiple::OnTrack)
|
||||
EVT_RADIOBUTTON(ByNameAndNumberID, ExportMultiple::OnByName)
|
||||
@ -385,7 +386,7 @@ void ExportMultiple::PopulateOrExchange(ShuttleGui& S)
|
||||
}
|
||||
S.EndHorizontalLay();
|
||||
|
||||
S.AddStandardButtons();
|
||||
S.AddStandardButtons(eOkButton | eCancelButton | eHelpButton);
|
||||
mExport = (wxButton *)wxWindow::FindWindowById(wxID_OK, this);
|
||||
mExport->SetLabel(_("Export"));
|
||||
|
||||
@ -525,6 +526,11 @@ void ExportMultiple::OnCancel(wxCommandEvent& WXUNUSED(event))
|
||||
EndModal(0);
|
||||
}
|
||||
|
||||
void ExportMultiple::OnHelp(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
HelpSystem::ShowHelp(this, wxT("Export_Multiple"), true);
|
||||
}
|
||||
|
||||
void ExportMultiple::OnExport(wxCommandEvent& WXUNUSED(event))
|
||||
{
|
||||
ShuttleGui S(this, eIsSavingToPrefs);
|
||||
|
@ -102,6 +102,7 @@ private:
|
||||
void OnByNumber(wxCommandEvent& event);
|
||||
void OnPrefix(wxCommandEvent& event);
|
||||
void OnCancel(wxCommandEvent& event);
|
||||
void OnHelp(wxCommandEvent& event);
|
||||
void OnExport(wxCommandEvent& event);
|
||||
|
||||
private:
|
||||
|
Loading…
x
Reference in New Issue
Block a user