diff --git a/src/station_gui.cpp b/src/station_gui.cpp index 0644d0a2c1..d6ed301352 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -668,7 +668,7 @@ public: } } - void OnDropdownSelect(int widget, int index) override + void OnDropdownSelect(WidgetID widget, int index) override { if (widget == WID_STL_SORTDROPBTN) { if (this->stations.SortType() != index) {