]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_zip.cpp
wxUniversal STL-ification.
[wxWidgets.git] / src / common / fs_zip.cpp
index 73f404a8888452a27aeef80811ac47be59e59bab..bb449aab85aaf358a9afbdba6819ba4769eddad6 100644 (file)
@@ -9,7 +9,7 @@
 
 
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "fs_zip.h"
 #endif
 
@@ -208,7 +208,7 @@ wxString wxZipFSHandler::DoFind()
                 wxLongToLongHashMap::iterator it = m_DirsFound->find(key);
                 if (it == m_DirsFound->end())
                 {
-                    m_DirsFound[key] = 1;
+                    (*m_DirsFound)[key] = 1;
                     filename = dir.AfterLast(wxT('/'));
                     dir = dir.BeforeLast(wxT('/'));
                     if (!filename.IsEmpty() && m_BaseDir == dir &&