(svn r13005) -Codechange: prepare AllocateWindowDescFront for subclassing of Window.

This commit is contained in:
rubidium
2008-05-08 11:50:34 +00:00
parent 51cda2252c
commit 92aac531c2
28 changed files with 75 additions and 76 deletions

View File

@@ -482,12 +482,12 @@ static const WindowDesc _build_trees_scen_desc = {
void ShowBuildTreesToolbar()
{
if (!IsValidPlayer(_current_player)) return;
AllocateWindowDescFront(&_build_trees_desc, 0);
AllocateWindowDescFront<Window>(&_build_trees_desc, 0);
}
void ShowBuildTreesScenToolbar()
{
AllocateWindowDescFront(&_build_trees_scen_desc, 0);
AllocateWindowDescFront<Window>(&_build_trees_scen_desc, 0);
}
static uint64 _errmsg_decode_params[20];