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:
parent
602a857b25
commit
0081dd7246
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user