]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wxcrtbase.h
Small usability improvements
[wxWidgets.git] / include / wx / wxcrtbase.h
index 0afdc2ec5c15bd1ea7f9b69a5386370ce5d9efde..476fb654e7d264d1ff6a97e789d6f1253829e25c 100644 (file)
@@ -541,7 +541,7 @@ WXDLLIMPEXP_BASE wchar_t * wxCRT_GetenvW(const wchar_t *name);
     /* _wtof doesn't exist */
 #else
 #ifndef __VMS
     /* _wtof doesn't exist */
 #else
 #ifndef __VMS
-    #define wxCRT_AtofW(s)         wcstof(s, NULL)
+    #define wxCRT_AtofW(s)         wcstod(s, NULL)
 #endif
     #define wxCRT_AtolW(s)         wcstol(s, NULL, 10)
     /* wcstoi doesn't exist */
 #endif
     #define wxCRT_AtolW(s)         wcstol(s, NULL, 10)
     /* wcstoi doesn't exist */