+//---------------------------------------------------------------------------
+// wxZipFSInputStream
+//---------------------------------------------------------------------------
+// Helper class for wxZipFSHandler
+
+class wxZipFSInputStream : public wxZipInputStream
+{
+ public:
+ wxZipFSInputStream(wxFSFile *file)
+ : wxZipInputStream(*file->GetStream())
+ {
+ m_file = file;
+#if 1 //WXWIN_COMPATIBILITY_2_6
+ m_allowSeeking = true;
+#endif
+ }
+
+ virtual ~wxZipFSInputStream() { delete m_file; }
+
+ private:
+ wxFSFile *m_file;
+};
+