(svn r17867) -Codechange: Prepare BaseVehicleListWindow for nested widgets.

This commit is contained in:
alberth
2009-10-25 14:52:46 +00:00
parent 38687193fe
commit bd05f2eca6
2 changed files with 7 additions and 2 deletions

View File

@@ -807,7 +807,7 @@ static void DrawVehicleImage(const Vehicle *v, int x, int y, VehicleID selection
* @param line_height Height of a single item line.
* @param r Rectangle with edge positions of the matrix widget.
*/
void BaseVehicleListWindow::DrawVehicleListItems(VehicleID selected_vehicle, int line_height, const Rect &r)
void BaseVehicleListWindow::DrawVehicleListItems(VehicleID selected_vehicle, int line_height, const Rect &r) const
{
int left = r.left + WD_MATRIX_LEFT;
int right = r.right - WD_MATRIX_RIGHT;