changeset 9143 | 029e126e3439 |
parent 9142 | 858a058aa730 |
child 9149 | b4c7d2c33bda |
--- a/src/rail_gui.cpp Thu May 08 11:31:41 2008 +0000 +++ b/src/rail_gui.cpp Thu May 08 11:50:34 2008 +0000 @@ -752,7 +752,7 @@ if (button < 0 || !(w = FindWindowById(WC_BUILD_TOOLBAR, TRANSPORT_RAIL))) { DeleteWindowByClass(WC_BUILD_TOOLBAR); _cur_railtype = railtype; - w = AllocateWindowDescFront(&_build_rail_desc, TRANSPORT_RAIL); + w = AllocateWindowDescFront<Window>(&_build_rail_desc, TRANSPORT_RAIL); SetupRailToolbar(railtype, w); }