X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/80fdcdb90ef779185492dab676d461fc34933312..77c8efc8c37da6d6a5e2e8022d21d1cd7d76371d:/src/common/fs_arc.cpp diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index bd6c244f4b..4b4c382cac 100644 --- a/src/common/fs_arc.cpp +++ b/src/common/fs_arc.cpp @@ -405,7 +405,7 @@ wxFSFile* wxArchiveFSHandler::OpenFile( } #if WXWIN_COMPATIBILITY_2_6 && wxUSE_ZIPSTREAM - if (factory->IsKindOf(CLASSINFO(wxZipClassFactory))) + if (wxDynamicCast(factory, wxZipClassFactory)) ((wxZipInputStream*)s)->m_allowSeeking = true; #endif // WXWIN_COMPATIBILITY_2_6