Allow entering plus/minus characters for floating point numbers
This commit is contained in:
parent
4b0d74e04d
commit
e4198c149b
1 changed files with 1 additions and 1 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue