| 384 | RealtimeEffectControlAx(wxWindow* win = nullptr) : wxAccessible(win) { } |
| 385 | |
| 386 | wxAccStatus GetName(int childId, wxString* name) override |
| 387 | { |
| 388 | if(childId != wxACC_SELF) |
| 389 | return wxACC_NOT_IMPLEMENTED; |
| 390 | |
| 391 | if(auto movable = wxDynamicCast(GetWindow(), MovableControl)) |
| 392 | //i18n-hint: argument - position of the effect in the effect stack |
| 393 | *name = wxString::Format(_("Effect %d"), movable->FindIndexInParent() + 1); |
| 394 | return wxACC_OK; |
| 395 | } |
| 396 | |
| 397 | wxAccStatus GetChildCount(int* childCount) override |
| 398 | { |
no test coverage detected