wchar_t/etc fixes

This was SVN commit r692.
This commit is contained in:
Ykkrosh
2004-07-10 20:56:15 +00:00
parent 2dbaa2129f
commit 0eecb81bac
7 changed files with 49 additions and 54 deletions
+7
View File
@@ -38,6 +38,13 @@ CStr::CStr(tstring String)
m_String = String;
}
#if !(defined(_MSC_VER) && defined(_UNICODE))
CStr::CStr(std::utf16string String)
{
m_String = tstring(String.begin(), String.end());
}
#endif
CStr::CStr(TCHAR Char)
{
// Creates CStr from a TCHAR