#ifdef __GNUG__
-#pragma implementation
+#pragma implementation "fs_zip.h"
#endif
#include "wx/wxprec.h"
#if wxUSE_FILESYSTEM && wxUSE_FS_ZIP && wxUSE_ZIPSTREAM
#ifndef WXPRECOMP
-#include "wx/wx.h"
+ #include "wx/intl.h"
+ #include "wx/log.h"
#endif
#include "wx/hash.h"
bool wxZipFSHandler::CanOpen(const wxString& location)
{
wxString p = GetProtocol(location);
- return (p == wxT("zip"));
+ return (p == wxT("zip")) &&
+ (GetProtocol(GetLeftLocation(location)) == wxT("file"));
}