]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/zipstream.cpp
use of div_t.quot and div_t.rem were changed to / and %
[wxWidgets.git] / src / common / zipstream.cpp
index f117a8c9de9160e0c683dbffed8b6049990b3c92..806dcc5160e86daa0c0333e2b18afa215603821b 100644 (file)
@@ -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;