diff options
author | rubidium <rubidium@openttd.org> | 2007-02-01 15:49:12 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-02-01 15:49:12 +0000 |
commit | c8882bd3d2dbbc7fab90e74ce71a0699cb1438f3 (patch) | |
tree | f20591430627ec5e32fc838089b470939051cee5 /src/genworld_gui.cpp | |
parent | 01a9abc7e5d27d154a8b746c2ada76609961a925 (diff) | |
download | openttd-c8882bd3d2dbbc7fab90e74ce71a0699cb1438f3.tar.xz |
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/genworld_gui.cpp')
-rw-r--r-- | src/genworld_gui.cpp | 8 |
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 |