| 39 | } |
| 40 | |
| 41 | void TimerRecordExportDialog::PopulateOrExchange(ShuttleGui& S) |
| 42 | { |
| 43 | S.SetBorder(5); |
| 44 | S.StartVerticalLay(); |
| 45 | { |
| 46 | if(S.GetMode() == eIsCreating) |
| 47 | { |
| 48 | mExportFilePanel = safenew ExportFilePanel(mProject, true, this, ExportFilePanelID); |
| 49 | S.AddWindow(mExportFilePanel, wxEXPAND); |
| 50 | } |
| 51 | |
| 52 | S.StartHorizontalLay(wxEXPAND); |
| 53 | { |
| 54 | mEditMetadata = S.Id(EditMetadataID).AddButton(XO("Edit &Metadata..."), wxLEFT | wxBOTTOM); |
| 55 | S.AddSpace(1, 1, wxEXPAND); |
| 56 | S.Id(wxID_CANCEL).AddButton(XO("&Cancel"), wxBOTTOM); |
| 57 | S.Id(wxID_OK).AddButton(XO("O&K"), wxRIGHT | wxBOTTOM, true); |
| 58 | } |
| 59 | S.EndHorizontalLay(); |
| 60 | } |
| 61 | S.EndVerticalLay(); |
| 62 | } |
| 63 | |
| 64 | void TimerRecordExportDialog::OnOK(wxCommandEvent& event) |
| 65 | { |
nothing calls this directly
no test coverage detected