Allow using the letter 'E' (capital) as a symbol of exponent when entering floating point numbers.

Currently, only the letter 'e' is accepted when editing wxPG numeric properties.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@78156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Artur Wieczorek 2014-11-18 22:34:30 +00:00
parent 460b24e486
commit 7170eca0f7

View File

@ -187,7 +187,7 @@ wxNumericPropertyValidator::
{
arr.Add(wxS("+"));
arr.Add(wxS("-"));
arr.Add(wxS("e"));
arr.Add(wxS("e")); arr.Add(wxS("E"));
// Use locale-specific decimal point
arr.Add(wxString::Format("%g", 1.1)[1]);