conversion fix by Ryan

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor 2006-04-09 08:48:36 +00:00
parent ef2c03d913
commit d995756723

View File

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