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:
parent
460b24e486
commit
7170eca0f7
@ -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]);
|
||||
|
Loading…
Reference in New Issue
Block a user