Compile fix when 2.6 compatibility on and --without-zlib.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2008-02-01 16:44:56 +00:00
parent 8b2a6dfc24
commit f8f925e0a9

View File

@@ -22,7 +22,7 @@
#include "wx/log.h"
#endif
#if WXWIN_COMPATIBILITY_2_6
#if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM
#include "wx/zipstrm.h"
#else
#include "wx/archive.h"
@@ -399,7 +399,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile(
if (s && s->IsOk())
{
#if WXWIN_COMPATIBILITY_2_6
#if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM
if (factory->IsKindOf(CLASSINFO(wxZipClassFactory)))
((wxZipInputStream*)s)->m_allowSeeking = true;
#endif // WXWIN_COMPATIBILITY_2_6