if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 )
{
// initialized ok
+ m_pchData[nLen] = 0;
return;
}
//else: the conversion failed -- leave the string empty (what else?)
wxString res;
res += (wchar_t)(unsigned char) ascii;
-
+
return res;
}