]> git.saurik.com Git - wxWidgets.git/blobdiff - tests/archive/archivetest.cpp
Upported event filter patch for wxTextCtrl::SetValue()
[wxWidgets.git] / tests / archive / archivetest.cpp
index dc75506136916635f41091192d40c87d2a11fb06..c92cb7390d9cb454850329c9df4da6101032d40a 100644 (file)
@@ -1248,7 +1248,8 @@ void CorruptionTestCase::ExtractArchive(wxInputStream& in)
         while (arc->IsOk())
             arc->Read(buf, sizeof(buf));
 
-        entry = auto_ptr<wxArchiveEntry>(arc->GetNextEntry());
+        auto_ptr<wxArchiveEntry> next(arc->GetNextEntry());
+        entry = next;
     }
 }
 
@@ -1406,4 +1407,9 @@ template class ArchiveTestCase<wxArchiveClassFactory>;
 template class ArchiveTestCase<wxZipClassFactory>;
 #endif
 
+#if wxUSE_TARSTREAM
+#include "wx/tarstrm.h"
+template class ArchiveTestCase<wxTarClassFactory>;
+#endif
+
 #endif // wxUSE_STREAMS && wxUSE_ARCHIVE_STREAMS