summaryrefslogtreecommitdiff
path: root/src/toolbar_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-28 13:54:28 +0000
committerrubidium <rubidium@openttd.org>2009-11-28 13:54:28 +0000
commit458c73aecb74269a68ce0a8d5a90001fa3b4988e (patch)
treed3b8791d43ad9a8bfd08aedf49253911455febaa /src/toolbar_gui.cpp
parenta427ab751d7905a26bd86d9571412d9bebe0aa03 (diff)
downloadopenttd-458c73aecb74269a68ce0a8d5a90001fa3b4988e.tar.xz
(svn r18318) -Codechange: add an enum value for manual window placement
Diffstat (limited to 'src/toolbar_gui.cpp')
-rw-r--r--src/toolbar_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/toolbar_gui.cpp b/src/toolbar_gui.cpp
index d606547b3..1232f5d08 100644
--- a/src/toolbar_gui.cpp
+++ b/src/toolbar_gui.cpp
@@ -1376,7 +1376,7 @@ static const NWidgetPart _nested_toolbar_normal_widgets[] = {
};
static const WindowDesc _toolb_normal_desc(
- 0, 0, 640, 22,
+ WDP_MANUAL, WDP_MANUAL, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_NO_FOCUS,
_nested_toolbar_normal_widgets, lengthof(_nested_toolbar_normal_widgets)
@@ -1599,7 +1599,7 @@ static const NWidgetPart _nested_toolb_scen_widgets[] = {
};
static const WindowDesc _toolb_scen_desc(
- 0, 0, 640, 22,
+ WDP_MANUAL, WDP_MANUAL, 640, 22,
WC_MAIN_TOOLBAR, WC_NONE,
WDF_UNCLICK_BUTTONS | WDF_NO_FOCUS,
_nested_toolb_scen_widgets, lengthof(_nested_toolb_scen_widgets)