summaryrefslogtreecommitdiff
path: root/src/main_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/main_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/main_gui.cpp')
-rw-r--r--src/main_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp
index e5f28d29c..dbf98d41d 100644
--- a/src/main_gui.cpp
+++ b/src/main_gui.cpp
@@ -1389,7 +1389,7 @@ static void ScenEditLandGenWndProc(Window *w, WindowEvent *e)
break;
case WE_ABORT_PLACE_OBJ:
- RaiseWindowButtons(w);
+ w->RaiseButtons();
SetWindowDirty(w);
break;
}
@@ -1509,7 +1509,7 @@ static void ScenEditTownGenWndProc(Window *w, WindowEvent *e)
_place_proc(e->we.place.tile);
break;
case WE_ABORT_PLACE_OBJ:
- RaiseWindowButtons(w);
+ w->RaiseButtons();
w->LowerWidget(_scengen_town_size + 7);
SetWindowDirty(w);
break;