Allow entering plus/minus characters for floating point numbers

This commit is contained in:
Artur Wieczorek
2019-01-20 18:41:04 +01:00
parent 4b0d74e04d
commit e4198c149b

View File

@@ -190,7 +190,7 @@ wxNumericPropertyValidator::
}
else if ( numericType == Float )
{
allowedChars += wxS("eE");
allowedChars += wxS("-+eE");
// Use locale-specific decimal point
allowedChars += wxString::Format(wxS("%g"), 1.1)[1];