From: Paul Cornett <paulcor@bullseye.com>
Date: Fri, 21 Sep 2007 02:48:56 +0000 (+0000)
Subject: wcstod seems to be more widely available than wcstof
X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/5c15fb214eb1ced2842a0bb29a3cd300578c9c2c?ds=inline

wcstod seems to be more widely available than wcstof

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---

diff --git a/include/wx/wxcrtbase.h b/include/wx/wxcrtbase.h
index 0afdc2ec5c..476fb654e7 100644
--- a/include/wx/wxcrtbase.h
+++ b/include/wx/wxcrtbase.h
@@ -541,7 +541,7 @@ WXDLLIMPEXP_BASE wchar_t * wxCRT_GetenvW(const wchar_t *name);
     /* _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 */