summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
committerfrosch <frosch@openttd.org>2013-05-26 19:25:01 +0000
commit8157a8afd814cb24aaaa4c725817c864e0c583c6 (patch)
treef81c823727cb75370437179afd5ba452055f6512 /src/genworld_gui.cpp
parent8c4714ad9099308691059f0a7a3cd6bbd33ce538 (diff)
downloadopenttd-8157a8afd814cb24aaaa4c725817c864e0c583c6.tar.xz
(svn r25290) -Add: Assign string names to notable windows.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r--src/genworld_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/genworld_gui.cpp b/src/genworld_gui.cpp
index f5da7f950..b1ecc68ee 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -797,14 +797,14 @@ struct GenerateLandscapeWindow : public Window {
};
static WindowDesc _generate_landscape_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
0,
_nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets)
);
static WindowDesc _heightmap_load_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
0,
_nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets)
@@ -1098,7 +1098,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = {
};
static WindowDesc _create_scenario_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
0,
_nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets)
@@ -1126,7 +1126,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = {
static WindowDesc _generate_progress_desc(
- WDP_CENTER, 0, 0,
+ WDP_CENTER, NULL, 0, 0,
WC_MODAL_PROGRESS, WC_NONE,
0,
_nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets)