From d028c7f9e2eeed46e6e0577be724f043a9c15d5b Mon Sep 17 00:00:00 2001 From: Peter Nelson Date: Tue, 22 Apr 2025 22:44:25 +0100 Subject: [PATCH] Codefix: Incorrect type for OnDropdownSelect widget parameter. (#14074) --- src/station_gui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {