]> git.saurik.com Git - wxWidgets.git/commitdiff
fixing this conversion (was essentially a no-op under NON-UNICODE)
authorStefan Csomor <csomor@advancedconcepts.ch>
Sat, 22 Jul 2006 07:20:59 +0000 (07:20 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sat, 22 Jul 2006 07:20:59 +0000 (07:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/dataobj.cpp

index ead5d2fd39ca50696b715f3a6b2a3d7a043248fd..cc1c3522069fe596eefa075a3d2b2ca260678705 100644 (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 );