summaryrefslogtreecommitdiff
path: root/src/town_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
commitc8882bd3d2dbbc7fab90e74ce71a0699cb1438f3 (patch)
treef20591430627ec5e32fc838089b470939051cee5 /src/town_gui.cpp
parent01a9abc7e5d27d154a8b746c2ada76609961a925 (diff)
downloadopenttd-c8882bd3d2dbbc7fab90e74ce71a0699cb1438f3.tar.xz
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/town_gui.cpp')
-rw-r--r--src/town_gui.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/town_gui.cpp b/src/town_gui.cpp
index ee59f44fd..847e3d92f 100644
--- a/src/town_gui.cpp
+++ b/src/town_gui.cpp
@@ -212,7 +212,7 @@ static void TownAuthorityWndProc(Window *w, WindowEvent *e)
static const WindowDesc _town_authority_desc = {
WDP_AUTO, WDP_AUTO, 317, 222,
- WC_TOWN_AUTHORITY,0,
+ WC_TOWN_AUTHORITY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS,
_town_authority_widgets,
TownAuthorityWndProc
@@ -306,7 +306,7 @@ static const Widget _town_view_widgets[] = {
static const WindowDesc _town_view_desc = {
WDP_AUTO, WDP_AUTO, 260, 150,
- WC_TOWN_VIEW,0,
+ WC_TOWN_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
_town_view_widgets,
TownViewWndProc
@@ -329,7 +329,7 @@ static const Widget _town_view_scen_widgets[] = {
static const WindowDesc _town_view_scen_desc = {
WDP_AUTO, WDP_AUTO, 260, 150,
- WC_TOWN_VIEW,0,
+ WC_TOWN_VIEW, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON,
_town_view_scen_widgets,
TownViewWndProc
@@ -506,7 +506,7 @@ static void TownDirectoryWndProc(Window *w, WindowEvent *e)
static const WindowDesc _town_directory_desc = {
WDP_AUTO, WDP_AUTO, 208, 202,
- WC_TOWN_DIRECTORY,0,
+ WC_TOWN_DIRECTORY, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_town_directory_widgets,
TownDirectoryWndProc