summaryrefslogtreecommitdiff
path: root/src/dock_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
commit544325590c87cbcb6645b2b67c194a892e56ced7 (patch)
treefa5bb81db42708ef19334b597f9946c859de2ebc /src/dock_gui.cpp
parentecb9382c7e96da400bb3346dcd7e134f0146fee4 (diff)
downloadopenttd-544325590c87cbcb6645b2b67c194a892e56ced7.tar.xz
(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function
Diffstat (limited to 'src/dock_gui.cpp')
-rw-r--r--src/dock_gui.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dock_gui.cpp b/src/dock_gui.cpp
index 2d42afb33..781b16a5f 100644
--- a/src/dock_gui.cpp
+++ b/src/dock_gui.cpp
@@ -171,7 +171,7 @@ static void BuildDocksToolbWndProc(Window *w, WindowEvent *e)
break;
case WE_ABORT_PLACE_OBJ:
- RaiseWindowButtons(w);
+ w->RaiseButtons();
w = FindWindowById(WC_BUILD_STATION, 0);
if (w != NULL) WP(w, def_d).close = true;