wxString assignment operator from wx[W]CharBuffer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2121 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-13 07:19:59 +00:00
parent a982ddd202
commit 111bb7f2ea

View File

@@ -444,11 +444,16 @@ public:
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