Use locale-specific decimal point in wxNumericPropertyValidator (fixes #12790)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66411 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli 2010-12-20 14:21:13 +00:00
parent 997ddb2ced
commit a2abe5f081

View File

@ -186,8 +186,10 @@ wxNumericPropertyValidator::
{
arr.Add(wxS("+"));
arr.Add(wxS("-"));
arr.Add(wxS("."));
arr.Add(wxS("e"));
// Use locale-specific decimal point
arr.Add(wxString::Format("%g", 1.1)[1]);
}
SetIncludes(arr);