(svn r14331) -Codechange: use an enum as additional parameter for ShowQueryString()

This commit is contained in:
smatz
2008-09-15 16:29:40 +00:00
parent ff89c704fa
commit 606f4defdc
17 changed files with 49 additions and 40 deletions

View File

@@ -874,7 +874,7 @@ public:
uint value = order->GetConditionValue();
if (order->GetConditionVariable() == OCV_MAX_SPEED) value = ConvertSpeedToDisplaySpeed(value);
SetDParam(0, value);
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, 100, this, CS_NUMERAL);
ShowQueryString(STR_CONFIG_PATCHES_INT32, STR_ORDER_CONDITIONAL_VALUE_CAPT, 5, 100, this, CS_NUMERAL, QSF_NONE);
} break;
case ORDER_WIDGET_SHARED_ORDER_LIST: