X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..0bbe61b8c18a1795189f0cf73cc61c14a0fb846d:/src/unix/dir.cpp?ds=sidebyside diff --git a/src/unix/dir.cpp b/src/unix/dir.cpp index d87bf47002..7743d9b064 100644 --- a/src/unix/dir.cpp +++ b/src/unix/dir.cpp @@ -132,7 +132,7 @@ bool wxDirData::Read(wxString *filename) return false; #if wxUSE_UNICODE - de_d_name = wxConvFileName->cMB2WC( de->d_name ); + de_d_name = wxString(de->d_name, *wxConvFileName); #else de_d_name = de->d_name; #endif