@@ -57,17 +57,12 @@ public:
NWidgetViewport *nvp = this->GetWidget<NWidgetViewport>(WAYPVW_VIEWPORT);
nvp->InitializeViewport(this, this->wp->xy, ZOOM_LVL_MIN);
this->OnInvalidateData(0);
}
~WaypointWindow()
{
DeleteWindowById(GetWindowClassForVehicleType(this->vt), (this->window_number << 16) | (this->vt << 11) | VLW_WAYPOINT_LIST | this->wp->owner);
virtual void SetStringParameters(int widget) const
if (widget == WAYPVW_CAPTION) SetDParam(0, this->wp->index);
virtual void OnPaint()