build fixes after previous commit

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2007-04-04 11:40:36 +00:00
parent 33c2a4b7e2
commit e8f5903971
2 changed files with 15 additions and 31 deletions

View File

@@ -210,29 +210,9 @@ void wxString::UngetWriteBuf(size_t nLen)
// all functions are inline in string.h
// ---------------------------------------------------------------------------
// assignment operators
// concatenation operators
// ---------------------------------------------------------------------------
#if !wxUSE_UNICODE
// same as 'signed char' variant
wxString& wxString::operator=(const unsigned char* psz)
{
*this = (const char *)psz;
return *this;
}
#if wxUSE_WCHAR_T
wxString& wxString::operator=(const wchar_t *pwz)
{
wxString str(pwz);
swap(str);
return *this;
}
#endif
#endif
/*
* concatenation functions come in 5 flavours:
* string + string