Allow entering plus/minus characters for floating point numbers
This commit is contained in:
@@ -190,7 +190,7 @@ wxNumericPropertyValidator::
|
|||||||
}
|
}
|
||||||
else if ( numericType == Float )
|
else if ( numericType == Float )
|
||||||
{
|
{
|
||||||
allowedChars += wxS("eE");
|
allowedChars += wxS("-+eE");
|
||||||
|
|
||||||
// Use locale-specific decimal point
|
// Use locale-specific decimal point
|
||||||
allowedChars += wxString::Format(wxS("%g"), 1.1)[1];
|
allowedChars += wxString::Format(wxS("%g"), 1.1)[1];
|
||||||
|
Reference in New Issue
Block a user