summaryrefslogtreecommitdiff
path: root/src/bridge_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-09-13 19:15:59 +0000
committerfrosch <frosch@openttd.org>2009-09-13 19:15:59 +0000
commitebd916be3def20902cf19ffd16555074728eb9c3 (patch)
treec7748d7612a61b9558ffd10ffb176e34584f2376 /src/bridge_gui.cpp
parent5de9cc46b50b8e677395543c10b26b59c860212b (diff)
downloadopenttd-ebd916be3def20902cf19ffd16555074728eb9c3.tar.xz
(svn r17532) -Codechange: Rename several Invalidate functions to SetDirty for more consistency and distinguishability.
Diffstat (limited to 'src/bridge_gui.cpp')
-rw-r--r--src/bridge_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/bridge_gui.cpp b/src/bridge_gui.cpp
index 590f6f48e..3e254292f 100644
--- a/src/bridge_gui.cpp
+++ b/src/bridge_gui.cpp
@@ -121,8 +121,8 @@ private:
this->nested_array[BBSW_DROPDOWN_CRITERIA]->widget_data = this->sorter_names[this->bridges->SortType()];
/* Set the modified widgets dirty */
- this->InvalidateWidget(BBSW_DROPDOWN_CRITERIA);
- this->InvalidateWidget(BBSW_BRIDGE_LIST);
+ this->SetWidgetDirty(BBSW_DROPDOWN_CRITERIA);
+ this->SetWidgetDirty(BBSW_BRIDGE_LIST);
}
public: