summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2012-11-11 16:10:43 +0000
committerfrosch <frosch@openttd.org>2012-11-11 16:10:43 +0000
commit03736af2aee50db4e36c2cd9127085630f82cd4b (patch)
tree417a584e588daf08f7a9a4f00a5883c48d6fae8d /src/genworld_gui.cpp
parentcd5525386519d878aade98c6708500f170c30e31 (diff)
downloadopenttd-03736af2aee50db4e36c2cd9127085630f82cd4b.tar.xz
(svn r24700) -Cleanup: Remove WDF_UNCLICK_BUTTONS and make it the default.
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 db9f9c712..08dd60064 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -812,14 +812,14 @@ struct GenerateLandscapeWindow : public QueryStringBaseWindow {
static const WindowDesc _generate_landscape_desc(
WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_generate_landscape_widgets, lengthof(_nested_generate_landscape_widgets)
);
static const WindowDesc _heightmap_load_desc(
WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_heightmap_load_widgets, lengthof(_nested_heightmap_load_widgets)
);
@@ -1113,7 +1113,7 @@ static const NWidgetPart _nested_create_scenario_widgets[] = {
static const WindowDesc _create_scenario_desc(
WDP_CENTER, 0, 0,
WC_GENERATE_LANDSCAPE, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_create_scenario_widgets, lengthof(_nested_create_scenario_widgets)
);
@@ -1141,7 +1141,7 @@ static const NWidgetPart _nested_generate_progress_widgets[] = {
static const WindowDesc _generate_progress_desc(
WDP_CENTER, 0, 0,
WC_MODAL_PROGRESS, WC_NONE,
- WDF_UNCLICK_BUTTONS,
+ 0,
_nested_generate_progress_widgets, lengthof(_nested_generate_progress_widgets)
);