Remove returns of wxEmptyString

This commit is contained in:
Paul Cornett
2017-02-18 11:26:40 -08:00
parent 32535f5bf6
commit 6169ced23f
8 changed files with 47 additions and 37 deletions

View File

@@ -1160,11 +1160,11 @@ int wxString::CmpNoCase(const wxString& s) const
wxString wxString::FromAscii(const char *ascii, size_t len)
{
if (!ascii || len == 0)
return wxEmptyString;
wxString res;
if (!ascii || len == 0)
return res;
{
wxStringInternalBuffer buf(res, len);
wxStringCharType *dest = buf;