From 8c89641dbe11528b8a3724a3a2061c3c04e11ce4 Mon Sep 17 00:00:00 2001 From: belugas Date: Sat, 8 Dec 2007 01:20:47 +0000 Subject: (svn r11592) -Codechange: Use the Window member RaiseButtons and remove the now useless RaiseWindowButtons function --- src/player_gui.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/player_gui.cpp') diff --git a/src/player_gui.cpp b/src/player_gui.cpp index 16d5ff3f3..d296ed6d8 100644 --- a/src/player_gui.cpp +++ b/src/player_gui.cpp @@ -1218,11 +1218,11 @@ static void PlayerCompanyWndProc(Window *w, WindowEvent *e) if (DoCommandP(e->we.place.tile, 0, 0, NULL, CMD_BUILD_COMPANY_HQ | CMD_NO_WATER | CMD_MSG(STR_7071_CAN_T_BUILD_COMPANY_HEADQUARTERS))) ResetObjectToPlace(); w->widget[PCW_WIDGET_BUILD_VIEW_HQ].type = WWT_PUSHTXTBTN; // this button can now behave as a normal push button - RaiseWindowButtons(w); + w->RaiseButtons(); break; case WE_ABORT_PLACE_OBJ: - RaiseWindowButtons(w); + w->RaiseButtons(); break; case WE_DESTROY: -- cgit v1.2.3-54-g00ecf