Another inline constructor to facilitate Unicode conversion without #if-ing...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-15 15:13:26 +00:00
parent 15965b8b11
commit 3a309a64d7

View File

@@ -359,6 +359,9 @@ public:
// from C string (for compilers using unsigned char)
wxString(const unsigned char* psz, size_t nLength = wxSTRING_MAXLEN)
{ InitWith((const char*)psz, 0, nLength); }
// from multibyte string
wxString(const char *psz, wxMBConv& WXUNUSED(conv), size_t nLength = wxSTRING_MAXLEN)
{ InitWith(psz, 0, nLength); }
// from wide (Unicode) string
wxString(const wchar_t *pwz);
// from wxCharBuffer