Replaced wcslen with wxWcslen

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2002-09-11 11:28:51 +00:00
parent a1db4ad4a4
commit ce68ad2572
2 changed files with 6 additions and 4 deletions

View File

@@ -846,7 +846,8 @@ public:
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
size_t inbuf = std::wcslen(psz);
#else
size_t inbuf = ::wcslen(psz);
// size_t inbuf = ::wcslen(psz);
size_t inbuf = wxWcslen(psz);
#endif
if (buf)
w2m.Convert(psz,buf);
@@ -1038,7 +1039,8 @@ size_t wxCSConv::WC2MB(char *buf, const wchar_t *psz, size_t n) const
|| ( defined(__MWERKS__) && defined(__WXMSW__) )
size_t len=std::wcslen(psz);
#else
size_t len=::wcslen(psz);
// size_t len=::wcslen(psz);
size_t len = wxWcslen(psz);
#endif
if (buf)
{