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:
@@ -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
|
||||
|
Reference in New Issue
Block a user