git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20958
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 )
{
// initialized ok
if ( conv.MB2WC(m_pchData, psz, nLen + 1) != (size_t)-1 )
{
// initialized ok
return;
}
//else: the conversion failed -- leave the string empty (what else?)
return;
}
//else: the conversion failed -- leave the string empty (what else?)
wxString res;
res += (wchar_t)(unsigned char) ascii;
wxString res;
res += (wchar_t)(unsigned char) ascii;