git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29742
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
-//Convert a wide character string to a multi-byte character string of
-//a specified length, ignoring intermittent null characters
+//Convert a wide character string of a specified length
+//to a multi-byte character string, ignoring intermittent null characters
inline wxCharBuffer wxMbstr(const wchar_t* szString, size_t nStringLen, wxMBConv& conv)
{
const wchar_t* szEnd = szString + nStringLen + 1;
inline wxCharBuffer wxMbstr(const wchar_t* szString, size_t nStringLen, wxMBConv& conv)
{
const wchar_t* szEnd = szString + nStringLen + 1;
return buffer; //success - return converted string
}
return buffer; //success - return converted string
}
-//Convert a multi-byte character string to a wide character string of
-//a specified length, ignoring intermittent null characters
+//Convert a multi-byte character string of a specified length
+//to a wide character string, ignoring intermittent null characters
inline wxWCharBuffer wxWcstr(const char* szString, size_t nStringLen, wxMBConv& conv)
{
const char* szEnd = szString + nStringLen + 1;
inline wxWCharBuffer wxWcstr(const char* szString, size_t nStringLen, wxMBConv& conv)
{
const char* szEnd = szString + nStringLen + 1;