fixing this conversion (was essentially a no-op under NON-UNICODE)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2006-07-22 07:20:59 +00:00
parent fbb0b8afd0
commit 5088ab3fdd

View File

@ -251,7 +251,7 @@ bool wxFileDataObject::SetData( size_t nSize, const void *pBuf )
#if wxUSE_UNICODE
filenames = wxString( (const char*)pBuf, *wxConvFileName );
#else
filenames = wxString( wxConvFileName->cMB2WX( (const char*)pBuf ), wxConvLocal );
filenames = wxString (wxConvLocal.cWC2WX(wxConvFileName->cMB2WC( (const char*)pBuf)));
#endif
m_filenames = wxStringTokenize( filenames, wxT("\n"), wxTOKEN_STRTOK );