Add wxUSE_ARCSTREAM so that other archive classes can be used without wxZip

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2005-02-10 13:54:41 +00:00
parent 50bf89f702
commit 81f9033602
13 changed files with 234 additions and 77 deletions

View File

@@ -22,7 +22,7 @@
#include "wx/defs.h"
#endif
#if wxUSE_ZLIB && wxUSE_STREAMS && wxUSE_ZIPSTREAM
#if wxUSE_STREAMS && wxUSE_ARCSTREAM
#include "wx/archive.h"
#include "wx/html/forcelnk.h"
@@ -30,7 +30,9 @@
IMPLEMENT_ABSTRACT_CLASS(wxArchiveEntry, wxObject)
IMPLEMENT_ABSTRACT_CLASS(wxArchiveClassFactory, wxObject)
#if wxUSE_ZIPSTREAM
FORCE_LINK(zipstrm)
#endif
/////////////////////////////////////////////////////////////////////////////
@@ -71,4 +73,4 @@ wxArchiveEntry& wxArchiveEntry::operator=(const wxArchiveEntry& WXUNUSED(e))
return *this;
}
#endif
#endif // wxUSE_STREAMS && wxUSE_ARCSTREAM