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