summaryrefslogtreecommitdiff
path: root/src/order_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
committerrubidium <rubidium@openttd.org>2009-11-17 19:16:48 +0000
commit5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2 (patch)
tree555dcdb99e5bae8aea6350713c53469486f925c7 /src/order_gui.cpp
parent063e8adcecff0818dfb64f7640b11a1b7b982d08 (diff)
downloadopenttd-5f2ddfbc5aa2674124e7af62d405a4d76cdfb0e2.tar.xz
(svn r18152) -Codechange: remove the 'minimum window size' from the WindowDesc; it's determined from the (nested) widgets
Diffstat (limited to 'src/order_gui.cpp')
-rw-r--r--src/order_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/order_gui.cpp b/src/order_gui.cpp
index 1cb88c346..615677b9f 100644
--- a/src/order_gui.cpp
+++ b/src/order_gui.cpp
@@ -1339,7 +1339,7 @@ static const NWidgetPart _nested_orders_train_widgets[] = {
};
static const WindowDesc _orders_train_desc(
- WDP_AUTO, WDP_AUTO, 384, 100, 384, 100,
+ WDP_AUTO, WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_orders_train_widgets, lengthof(_nested_orders_train_widgets)
@@ -1403,7 +1403,7 @@ static const NWidgetPart _nested_orders_widgets[] = {
};
static const WindowDesc _orders_desc(
- WDP_AUTO, WDP_AUTO, 384, 100, 384, 100,
+ WDP_AUTO, WDP_AUTO, 384, 100,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_STICKY_BUTTON | WDF_RESIZABLE,
_nested_orders_widgets, lengthof(_nested_orders_widgets)
@@ -1429,7 +1429,7 @@ static const NWidgetPart _nested_other_orders_widgets[] = {
};
static const WindowDesc _other_orders_desc(
- WDP_AUTO, WDP_AUTO, 384, 86, 384, 86,
+ WDP_AUTO, WDP_AUTO, 384, 86,
WC_VEHICLE_ORDERS, WC_VEHICLE_VIEW,
WDF_STD_TOOLTIPS | WDF_STD_BTN | WDF_DEF_WIDGET | WDF_UNCLICK_BUTTONS | WDF_STICKY_BUTTON | WDF_RESIZABLE | WDF_CONSTRUCTION,
_nested_other_orders_widgets, lengthof(_nested_other_orders_widgets)