]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/valtext.cpp
Unix compilation fixes after last commit
[wxWidgets.git] / src / common / valtext.cpp
index ee3440fdbd617e86d7a0ab109a1e5f713645ec22..c8546923340e76cc23872eb19fa0bd81756536b9 100644 (file)
@@ -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'))
              )
            )
         {