(svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function

This commit is contained in:
belugas
2007-12-08 01:20:47 +00:00
parent 6fb71047d6
commit 8c89641dbe
10 changed files with 15 additions and 16 deletions

View File

@@ -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;