summaryrefslogtreecommitdiff
path: root/src/rail_gui.cpp
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-12-08 01:20:47 +0000
committerbelugas <belugas@openttd.org>2007-12-08 01:20:47 +0000
commit8c89641dbe11528b8a3724a3a2061c3c04e11ce4 (patch)
treefa5bb81db42708ef19334b597f9946c859de2ebc /src/rail_gui.cpp
parent6fb71047d65391ef6f44957f65e7cc08f13b18b6 (diff)
downloadopenttd-8c89641dbe11528b8a3724a3a2061c3c04e11ce4.tar.xz
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
Diffstat (limited to 'src/rail_gui.cpp')
-rw-r--r--src/rail_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_gui.cpp b/src/rail_gui.cpp
index a31399d40..af2a8f25e 100644
--- a/src/rail_gui.cpp
+++ b/src/rail_gui.cpp
@@ -578,7 +578,7 @@ static void BuildRailToolbWndProc(Window *w, WindowEvent *e)
break;
case WE_ABORT_PLACE_OBJ:
- RaiseWindowButtons(w);
+ w->RaiseButtons();
w->DisableWidget(RTW_REMOVE);
w->InvalidateWidget(RTW_REMOVE);