fix file names format in wxFileDataObject::GetDataHere() in Unicode build (replaces patch 1785191)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2007-09-08 11:37:01 +00:00
parent f3955fdff6
commit 0766270090

View File

@ -1139,7 +1139,7 @@ bool wxFileDataObject::GetDataHere(void *WXUNUSED_IN_WINCE(pData)) const
#endif // wxUSE_UNICODE_MSLU
{
len = m_filenames[i].length();
memcpy(pbuf, m_filenames[i].c_str(), len*sizeOfChar);
memcpy(pbuf, m_filenames[i].wx_str(), len*sizeOfChar);
}
pbuf += len*sizeOfChar;