| 103 | } |
| 104 | |
| 105 | void Close([[maybe_unused]] int data = 0) override |
| 106 | { |
| 107 | CloseWindowById(GetWindowClassForVehicleType(this->vt), VehicleListIdentifier(VL_STATION_LIST, this->vt, this->owner, this->window_number).ToWindowNumber(), false); |
| 108 | SetViewportCatchmentWaypoint(Waypoint::Get(this->window_number), false); |
| 109 | this->Window::Close(); |
| 110 | } |
| 111 | |
| 112 | std::string GetWidgetString(WidgetID widget, StringID stringid) const override |
| 113 | { |
nothing calls this directly
no test coverage detected