src/misc_gui.cpp
changeset 10462 416b62f5ee6f
parent 10461 48556aee54da
child 10467 a8de2b5759bd
--- a/src/misc_gui.cpp	Thu May 08 11:31:41 2008 +0000
+++ b/src/misc_gui.cpp	Thu May 08 11:50:34 2008 +0000
@@ -482,12 +482,12 @@
 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];