summaryrefslogtreecommitdiff
path: root/misc_gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'misc_gui.c')
-rw-r--r--misc_gui.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/misc_gui.c b/misc_gui.c
index 824c53a6f..d7aae3b20 100644
--- a/misc_gui.c
+++ b/misc_gui.c
@@ -326,7 +326,7 @@ static const Widget _build_trees_widgets[] = {
static const WindowDesc _build_trees_desc = {
497, 22, 143, 171,
- WC_BUILD_TOOLBAR,0,
+ WC_BUILD_TREES, WC_SCEN_LAND_GEN,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_trees_widgets,
BuildTreesWndProc
@@ -355,7 +355,7 @@ static const Widget _build_trees_scen_widgets[] = {
static const WindowDesc _build_trees_scen_desc = {
-1, -1, 143, 184,
- WC_SCEN_BUILD_TREES,0,
+ WC_BUILD_TREES,0,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET,
_build_trees_scen_widgets,
BuildTreesWndProc
@@ -364,7 +364,6 @@ static const WindowDesc _build_trees_scen_desc = {
void ShowBuildTreesToolbar()
{
- DeleteWindowById(WC_BUILD_TOOLBAR, 0);
AllocateWindowDesc(&_build_trees_desc);
}