diff options
Diffstat (limited to 'src/timetable_gui.cpp')
-rw-r--r-- | src/timetable_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timetable_gui.cpp b/src/timetable_gui.cpp index ad20c38f9..d7c7343d9 100644 --- a/src/timetable_gui.cpp +++ b/src/timetable_gui.cpp @@ -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; |