X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f7f00d8a1d8a04e48f70e6ec014c9737ed1702f5..22886fb3c34356d015591846f343344733a03149:/src/common/valtext.cpp diff --git a/src/common/valtext.cpp b/src/common/valtext.cpp index ee3440fdbd..c854692334 100644 --- a/src/common/valtext.cpp +++ b/src/common/valtext.cpp @@ -311,7 +311,7 @@ void wxTextValidator::OnChar(wxKeyEvent& event) ((m_validatorStyle & wxFILTER_ALPHA) && !wxIsalpha(keyCode)) || ((m_validatorStyle & wxFILTER_ALPHANUMERIC) && !wxIsalnum(keyCode)) || ((m_validatorStyle & wxFILTER_NUMERIC) && !wxIsdigit(keyCode) - && keyCode != wxT('.') && keyCode != wxT(',') && keyCode != wxT('-')) + && keyCode != wxT('.') && keyCode != wxT(',') && keyCode != wxT('-') && keyCode != wxT('+') && keyCode != wxT('e') && keyCode != wxT('E')) ) ) {