diff options
author | rubidium <rubidium@openttd.org> | 2009-02-08 16:00:57 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-02-08 16:00:57 +0000 |
commit | 57b27ffbab9ed205dfc5099a22c0c4e791ec1421 (patch) | |
tree | 9b24326a5fc27f764e5568e206218028b2f1c974 /src/dock_gui.cpp | |
parent | 856f26e35b51447dc3cb707dcf0dbd5a87cfe3c0 (diff) | |
download | openttd-57b27ffbab9ed205dfc5099a22c0c4e791ec1421.tar.xz |
(svn r15414) -Codechange: s/delete FindWindowById/DeleteWindowById/
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r-- | src/dock_gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp index b79f5d36a..f806d22e2 100644 --- a/src/dock_gui.cpp +++ b/src/dock_gui.cpp @@ -241,10 +241,10 @@ struct BuildDocksToolbarWindow : Window { { this->RaiseButtons(); - 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_STATION, 0); + DeleteWindowById(WC_BUILD_DEPOT, 0); + DeleteWindowById(WC_SELECT_STATION, 0); + DeleteWindowById(WC_BUILD_BRIDGE, 0); } virtual void OnPlacePresize(Point pt, TileIndex tile_from) |