X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/43c42c18d36c703a88b1b7b697bac27fe5608eca..538a2cfaf2be9f864e58c9a9fe232966af6bf2a0:/src/common/any.cpp diff --git a/src/common/any.cpp b/src/common/any.cpp index 074412c80e..cefcc2a1d8 100644 --- a/src/common/any.cpp +++ b/src/common/any.cpp @@ -453,7 +453,7 @@ bool wxAnyValueTypeImplDouble::ConvertValue(const wxAnyValueBuffer& src, } else if ( wxANY_VALUE_TYPE_CHECK_TYPE(dstType, wxString) ) { - wxString s = wxString::Format(wxS("%.14g"), value); + wxString s = wxString::FromCDouble(value, 14); wxAnyValueTypeImpl::SetValue(s, dst); } else