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:
parent
ef3e6c15f2
commit
46eb9b54be
@ -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 )
|
||||
|
Loading…
Reference in New Issue
Block a user