git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35484
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
{
// iconv operates with chars, not wxChars, but luckily it uses only ASCII
// names for the charsets
{
// iconv operates with chars, not wxChars, but luckily it uses only ASCII
// names for the charsets
- const wxCharBuffer cname(wxString::ToAscii(name));
+ const wxCharBuffer cname(wxString(name).ToAscii());
// check for charset that represents wchar_t:
if (ms_wcCharsetName == NULL)
// check for charset that represents wchar_t:
if (ms_wcCharsetName == NULL)