summaryrefslogtreecommitdiff
path: root/src/smallmap_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/smallmap_gui.cpp
parent7735c2197f21d9e32eb54dfe344202d174e1aa6a (diff)
downloadopenttd-2a9851a3ad3ffc9bdf90afb10021587e9a9ef190.tar.xz
(svn r8511) -Codechange: make WindowClass an enumerated value.
Diffstat (limited to 'src/smallmap_gui.cpp')
-rw-r--r--src/smallmap_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smallmap_gui.cpp b/src/smallmap_gui.cpp
index 65e040656..fa85017e8 100644
--- a/src/smallmap_gui.cpp
+++ b/src/smallmap_gui.cpp
@@ -970,7 +970,7 @@ static void SmallMapWindowProc(Window *w, WindowEvent *e)
static const WindowDesc _smallmap_desc = {
WDP_AUTO, WDP_AUTO, 446, 314,
- WC_SMALLMAP,0,
+ WC_SMALLMAP, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_smallmap_widgets,
SmallMapWindowProc
@@ -1083,7 +1083,7 @@ static void ExtraViewPortWndProc(Window *w, WindowEvent *e)
static const WindowDesc _extra_view_port_desc = {
WDP_AUTO, WDP_AUTO, 300, 268,
- WC_EXTRA_VIEW_PORT,0,
+ WC_EXTRA_VIEW_PORT, WC_NONE,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_extra_view_port_widgets,
ExtraViewPortWndProc