git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46639
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxLogTrace(TRACE_STRCONV,
wxT("iconv wchar_t charset is \"%s\"%s"),
wxLogTrace(TRACE_STRCONV,
wxT("iconv wchar_t charset is \"%s\"%s"),
- ms_wcCharsetName.empty() ? _T("<none>")
- : ms_wcCharsetName.c_str(),
+ ms_wcCharsetName.empty() ? wxString("<none>")
+ : ms_wcCharsetName,
ms_wcNeedsSwap ? _T(" (needs swap)")
: _T(""));
}
ms_wcNeedsSwap ? _T(" (needs swap)")
: _T(""));
}
wxMutexLocker lock(self->m_iconvMutex);
#endif
wxMutexLocker lock(self->m_iconvMutex);
#endif
+ const wchar_t *wnul = L"";
char buf[8]; // should be enough for NUL in any encoding
size_t inLen = sizeof(wchar_t),
outLen = WXSIZEOF(buf);
char buf[8]; // should be enough for NUL in any encoding
size_t inLen = sizeof(wchar_t),
outLen = WXSIZEOF(buf);