Needed the reverse operator+ too...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
028a2b5d53
commit
bf88baa63e
@ -1005,9 +1005,13 @@ wxString WXDLLEXPORT operator+(const wxChar *psz, const wxString& string);
|
|||||||
#if wxUSE_UNICODE
|
#if wxUSE_UNICODE
|
||||||
wxString WXDLLEXPORT operator+(const wxString& string, const wxWCharBuffer buf)
|
wxString WXDLLEXPORT operator+(const wxString& string, const wxWCharBuffer buf)
|
||||||
{ return string + (const wchar_t *)buf; }
|
{ return string + (const wchar_t *)buf; }
|
||||||
|
wxString WXDLLEXPORT operator+(const wxWCharBuffer buf, const wxString& string)
|
||||||
|
{ return (const wchar_t *)buf + string; }
|
||||||
#else
|
#else
|
||||||
wxString WXDLLEXPORT operator+(const wxString& string, const wxCharBuffer buf)
|
wxString WXDLLEXPORT operator+(const wxString& string, const wxCharBuffer buf)
|
||||||
{ return string + (const char *)buf; }
|
{ return string + (const char *)buf; }
|
||||||
|
wxString WXDLLEXPORT operator+(const wxCharBuffer buf, const wxString& string)
|
||||||
|
{ return (const char *)buf + string; }
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ---------------------------------------------------------------------------
|
// ---------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user