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:
parent
f3955fdff6
commit
0766270090
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user