git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2121
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxString& operator=(wxChar ch);
// from a C string
wxString& operator=(const wxChar *psz);
-#if !wxUSE_UNICODE
+#if wxUSE_UNICODE
+ // from wxWCharBuffer
+ wxString& operator=(const wxWCharBuffer& psz) { return operator=((const wchar_t *)psz); }
+#else
// from another kind of C string
wxString& operator=(const unsigned char* psz);
// from a wide string
wxString& operator=(const wchar_t *pwz);
+ // from wxCharBuffer
+ wxString& operator=(const wxCharBuffer& psz) { return operator=((const char *)psz); }
#endif
// string concatenation