--- a/src/station_gui.cpp Tue Feb 13 10:27:18 2007 +0000
+++ b/src/station_gui.cpp Tue Feb 13 11:09:58 2007 +0000
@@ -301,7 +301,7 @@
SetDParam(0, p->name_1);
SetDParam(1, p->name_2);
SetDParam(2, w->vscroll.count);
- DrawWindowWidgets(w);
+ w->DrawWidgets();
}
{
@@ -446,7 +446,7 @@
case STATIONLIST_WIDGET_SORTCRITERIA:
case STATIONLIST_WIDGET_SORTDROPBTN: /* select sorting criteria dropdown menu */
- ShowDropDownMenu(w, _station_sort_listing, sl->sort_type, STATIONLIST_WIDGET_SORTDROPBTN, 0, 0);
+ w->ShowDropDownMenu(_station_sort_listing, sl->sort_type, STATIONLIST_WIDGET_SORTDROPBTN, 0, 0);
break;
default:
@@ -628,7 +628,7 @@
SetDParam(0, st->index);
SetDParam(1, st->facilities);
- DrawWindowWidgets(w);
+ w->DrawWidgets();
x = 2;
y = 15;