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:
@@ -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));
|
||||
|
Reference in New Issue
Block a user