| 459 | } |
| 460 | |
| 461 | std::string GetWidgetString(WidgetID widget, StringID stringid) const override |
| 462 | { |
| 463 | switch (widget) { |
| 464 | case WID_QES_CAPTION: |
| 465 | return GetString(this->name_editbox.caption); |
| 466 | |
| 467 | default: |
| 468 | return this->Window::GetWidgetString(widget, stringid); |
| 469 | } |
| 470 | } |
| 471 | |
| 472 | void OnClick([[maybe_unused]] Point pt, WidgetID widget, [[maybe_unused]] int click_count) override |
| 473 | { |
nothing calls this directly
no test coverage detected