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:
parent
997ddb2ced
commit
a2abe5f081
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user