]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fs_zip.cpp
Make IsOfClass out-of-line to defend against gcc 3.4.[56] bug:
[wxWidgets.git] / src / common / fs_zip.cpp
index eefa93f96af4aa7723c2c3a963b003946f0e54f4..5e56e3c55fb259a1ded9f0b2632753524c0b9196 100644 (file)
@@ -119,14 +119,17 @@ wxFSFile* wxZipFSHandler::OpenFile(wxFileSystem& WXUNUSED(fs), const wxString& l
            delete ent;
        }
        if (found)
+       {
            return new wxFSFile(s,
                             left + wxT("#zip:") + right,
                             GetMimeTypeFromExt(location),
                             GetAnchor(location)
 #if wxUSE_DATETIME
-                            , wxDateTime(wxFileModificationTime(left))
+                            , wxFileSystem::URLToFileName(left).
+                                GetModificationTime()
 #endif // wxUSE_DATETIME
                             );
+       }
     }
 
     delete s;