fixed FromAscii to work with NULL argument (broken after recent changes)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík 2007-06-28 20:01:11 +00:00
parent 602a857b25
commit 0081dd7246

View File

@ -999,7 +999,7 @@ wxString wxString::FromAscii(const char *ascii, size_t len)
wxString wxString::FromAscii(const char *ascii)
{
return FromAscii(ascii, strlen(ascii));
return FromAscii(ascii, wxStrlen(ascii));
}
wxString wxString::FromAscii(const char ascii)