]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/any.cpp
Make code reading BMP files more robust.
[wxWidgets.git] / src / common / any.cpp
index c8681efec7a01811ab9da4d791563450d39839aa..074412c80e844609da892fb454c3e46bbd2d4be5 100644 (file)
@@ -374,7 +374,7 @@ bool wxAnyConvertString(const wxString& value,
     else if ( wxANY_VALUE_TYPE_CHECK_TYPE(dstType, double) )
     {
         double value2;
-        if ( !value.ToDouble(&value2) )
+        if ( !value.ToCDouble(&value2) )
             return false;
         wxAnyValueTypeImplDouble::SetValue(value2, dst);
     }