| 78 | } |
| 79 | |
| 80 | void InitUI() |
| 81 | { |
| 82 | auto mainSizer = std::make_unique<wxBoxSizer>(wxVERTICAL); |
| 83 | mainSizer->Add(mRows = safenew wxBoxSizer(wxVERTICAL), 0, wxEXPAND); |
| 84 | mainSizer->Add( |
| 85 | mAddNewLocation = safenew wxButton(this, wxID_ANY, _("Add new location")), |
| 86 | 0, wxALL, 3 |
| 87 | ); |
| 88 | SetSizer(mainSizer.release()); |
| 89 | |
| 90 | mAddNewLocation->Bind(wxEVT_BUTTON, &EffectsLocationPanel::OnAddNewLocationClicked, this); |
| 91 | } |
| 92 | |
| 93 | void AddLocation(const PluginPath& path, bool setFocus = false) |
| 94 | { |
nothing calls this directly
no test coverage detected