wxAtof implementation independent of (the rest of) wxNEED_WX_STDLIB_H

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-13 06:48:04 +00:00
parent 66f32eca4c
commit b7a5d6ca90

View File

@@ -133,12 +133,14 @@ int WXDLLEXPORT wxVsprintf(wxChar *buf, const wxChar *fmt, va_list argptr)
}
#endif
#ifdef wxNEED_WX_STDLIB_H
#ifndef wxAtof
double WXDLLEXPORT wxAtof(const wxChar *psz)
{
return atof(wxConv_libc.cWX2MB(psz));
}
#endif
#ifdef wxNEED_WX_STDLIB_H
int WXDLLEXPORT wxAtoi(const wxChar *psz)
{
return atoi(wxConv_libc.cWX2MB(psz));