diff --git a/src/propgrid/props.cpp b/src/propgrid/props.cpp index f8357d4408..e399674bd5 100644 --- a/src/propgrid/props.cpp +++ b/src/propgrid/props.cpp @@ -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);