Fixed compilo with VC++

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-11-09 12:14:08 +00:00
parent ef3e6c15f2
commit 46eb9b54be

View File

@ -90,7 +90,7 @@ public:
if ( m_index == count )
return S_FALSE;
const wxWX2WCbuf wcbuf(m_strings[m_index].wc_str());
const wxWX2WCbuf wcbuf = m_strings[m_index].wc_str();
const size_t size = (wcslen(wcbuf) + 1)*sizeof(wchar_t);
void *olestr = CoTaskMemAlloc(size);
if ( !olestr )