(svn r15885) -Codechange: Removed new_size parameter of Window::OnResize() callback

This commit is contained in:
alberth
2009-03-29 09:49:11 +00:00
parent 5298b5ef68
commit bbd546b792
23 changed files with 39 additions and 49 deletions

View File

@@ -325,7 +325,7 @@ struct TimetableWindow : Window {
DoCommandP(0, p1, p2, CMD_CHANGE_TIMETABLE | CMD_MSG(STR_CAN_T_TIMETABLE_VEHICLE));
}
virtual void OnResize(Point new_size, Point delta)
virtual void OnResize(Point delta)
{
/* Update the scroll + matrix */
this->vscroll.cap = (this->widget[TTV_TIMETABLE_PANEL].bottom - this->widget[TTV_TIMETABLE_PANEL].top) / 10;