...for both buffer types...

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2226 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Ove Kaaven
1999-04-18 00:20:20 +00:00
parent d87c0ac7b9
commit 20456250d2

View File

@@ -83,13 +83,13 @@ public:
{
m_wcs = src.m_wcs;
// no reference count yet...
(wxWCharBuffer)src.m_wcs = (wchar_t *)NULL;
((wxWCharBuffer*)&src)->m_wcs = (wchar_t *)NULL;
}
wxWCharBuffer& operator=(const wxWCharBuffer& src)
{
m_wcs = src.m_wcs;
// no reference count yet...
(wxWCharBuffer)src.m_wcs = (wchar_t *)NULL;
((wxWCharBuffer*)&src)->m_wcs = (wchar_t *)NULL;
return *this;
}