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

This commit is contained in:
rubidium
2008-05-08 11:50:34 +00:00
parent 2eef026fe3
commit 23fc96c3e8
28 changed files with 75 additions and 76 deletions

View File

@@ -114,7 +114,7 @@ static const WindowDesc _engine_preview_desc = {
void ShowEnginePreviewWindow(EngineID engine)
{
AllocateWindowDescFront(&_engine_preview_desc, engine);
AllocateWindowDescFront<Window>(&_engine_preview_desc, engine);
}
static void DrawTrainEngineInfo(EngineID engine, int x, int y, int maxw)