summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-02-08 16:00:57 +0000
committerrubidium <rubidium@openttd.org>2009-02-08 16:00:57 +0000
commitcba3be0b4f47beed4924953910cc39fd700a151a (patch)
tree9b24326a5fc27f764e5568e206218028b2f1c974 /src/rail_gui.cpp
parent412f93b877d650b911f2167018cd69e8e8a25d9b (diff)
downloadopenttd-cba3be0b4f47beed4924953910cc39fd700a151a.tar.xz
(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index e00753c30..f483b4d74 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -742,11 +742,11 @@ struct BuildRailToolbarWindow : Window {
this->DisableWidget(RTW_REMOVE);
this->InvalidateWidget(RTW_REMOVE);
- delete FindWindowById(WC_BUILD_SIGNAL, 0);
- delete FindWindowById(WC_BUILD_STATION, 0);
- delete FindWindowById(WC_BUILD_DEPOT, 0);
- delete FindWindowById(WC_SELECT_STATION, 0);
- delete FindWindowById(WC_BUILD_BRIDGE, 0);
+ DeleteWindowById(WC_BUILD_SIGNAL, 0);
+ DeleteWindowById(WC_BUILD_STATION, 0);
+ DeleteWindowById(WC_BUILD_DEPOT, 0);
+ DeleteWindowById(WC_SELECT_STATION, 0);
+ DeleteWindowById(WC_BUILD_BRIDGE, 0);
}
virtual void OnPlacePresize(Point pt, TileIndex tile)