summaryrefslogtreecommitdiff
path: root/src/genworld_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
committerrubidium <rubidium@openttd.org>2007-02-01 15:49:12 +0000
commit2a9851a3ad3ffc9bdf90afb10021587e9a9ef190 (patch)
treef20591430627ec5e32fc838089b470939051cee5 /src/genworld_gui.cpp
parent7735c2197f21d9e32eb54dfe344202d174e1aa6a (diff)
downloadopenttd-2a9851a3ad3ffc9bdf90afb10021587e9a9ef190.tar.xz
(svn r8511) -Codechange: make WindowClass an enumerated value.
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 c74e0150d..3131b95f4 100644
--- a/src/genworld_gui.cpp
+++ b/src/genworld_gui.cpp
@@ -473,7 +473,7 @@ void GenerateLandscapeWndProc(Window *w, WindowEvent *e)
const WindowDesc _generate_landscape_desc = {
WDP_CENTER, WDP_CENTER, 338, 268,
- WC_GENERATE_LANDSCAPE, 0,
+ WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_generate_landscape_widgets,
GenerateLandscapeWndProc,
@@ -481,7 +481,7 @@ const WindowDesc _generate_landscape_desc = {
const WindowDesc _heightmap_load_desc = {
WDP_CENTER, WDP_CENTER, 338, 236,
- WC_GENERATE_LANDSCAPE, 0,
+ WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_heightmap_load_widgets,
GenerateLandscapeWndProc,
@@ -711,7 +711,7 @@ const Widget _create_scenario_widgets[] = {
const WindowDesc _create_scenario_desc = {
WDP_CENTER, WDP_CENTER, 338, 180,
- WC_GENERATE_LANDSCAPE, 0,
+ WC_GENERATE_LANDSCAPE, WC_NONE,
WDF_STD_TOOLTIPS | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_create_scenario_widgets,
CreateScenarioWndProc,
@@ -791,7 +791,7 @@ static void ShowTerrainProgressProc(Window* w, WindowEvent* e)
static const WindowDesc _show_terrain_progress_desc = {
WDP_CENTER, WDP_CENTER, 181, 97,
- WC_GENERATE_PROGRESS_WINDOW, 0,
+ WC_GENERATE_PROGRESS_WINDOW, WC_NONE,
WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_show_terrain_progress_widgets,
ShowTerrainProgressProc