File diff r15300:3d6aea4a809c → r15301:f3449efe9a34
src/waypoint_gui.cpp
Show inline comments
 
@@ -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()