From ebd916be3def20902cf19ffd16555074728eb9c3 Mon Sep 17 00:00:00 2001 From: frosch Date: Sun, 13 Sep 2009 19:15:59 +0000 Subject: (svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability. --- src/station_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/station_gui.cpp') diff --git a/src/station_gui.cpp b/src/station_gui.cpp index c2861429a..c3d9ebb2f 100644 --- a/src/station_gui.cpp +++ b/src/station_gui.cpp @@ -254,7 +254,7 @@ protected: this->last_station = NULL; /* Set the modified widget dirty */ - this->InvalidateWidget(SLW_LIST); + this->SetWidgetDirty(SLW_LIST); } public: @@ -969,7 +969,7 @@ struct StationViewWindow : public Window { for (CargoID c = 0; c < NUM_CARGO; c++) { if (this->cargo_rows[c] == row) { ToggleBit(this->cargo, c); - this->InvalidateWidget(SVW_WAITING); + this->SetWidgetDirty(SVW_WAITING); break; } } -- cgit v1.2.3-54-g00ecf