X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1af991f497a5e95d8f8ab15a4e4a4a4c375928f..bae41ce1922f02b8af69b4fffbf3b6a2183f9ba7:/src/common/zipstream.cpp?ds=sidebyside diff --git a/src/common/zipstream.cpp b/src/common/zipstream.cpp index f117a8c9de..806dcc5160 100644 --- a/src/common/zipstream.cpp +++ b/src/common/zipstream.cpp @@ -32,13 +32,13 @@ wxZipInputStream::wxZipInputStream(const wxString& archive, const wxString& file m_Pos = 0; m_Size = 0; - m_Archive = (void*) unzOpen(archive); + m_Archive = (void*) unzOpen(archive.mb_str(wxConvFile)); if (m_Archive == NULL) { m_lasterror = wxStream_READ_ERR; return; } - if (unzLocateFile((unzFile)m_Archive, file, 0) != UNZ_OK) + if (unzLocateFile((unzFile)m_Archive, file.mb_str(wxConvFile), 0) != UNZ_OK) { m_lasterror = wxStream_READ_ERR; return;