X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d2b23e51e3c2168b2fdd80cbb537d79508b03012..1bd2ceb57b0cc9f2b07b8bbb7d38d0e0d2381d3a:/src/common/fs_arc.cpp diff --git a/src/common/fs_arc.cpp b/src/common/fs_arc.cpp index c69153cdce..9c92942c23 100644 --- a/src/common/fs_arc.cpp +++ b/src/common/fs_arc.cpp @@ -23,8 +23,7 @@ #endif #include "wx/archive.h" -#include "wx/fileback.h" -#include "wx/thread.h" +#include "wx/private/fileback.h" //--------------------------------------------------------------------------- // wxArchiveFSCacheDataImpl @@ -120,7 +119,7 @@ wxArchiveFSCacheDataImpl::~wxArchiveFSCacheDataImpl() wxArchiveFSEntry *wxArchiveFSCacheDataImpl::AddToCache(wxArchiveEntry *entry) { - m_hash[entry->GetName()] = entry; + m_hash[entry->GetName(wxPATH_UNIX)] = entry; wxArchiveFSEntry *fse = new wxArchiveFSEntry; *m_endptr = fse; (*m_endptr)->entry = entry; @@ -153,7 +152,7 @@ wxArchiveEntry *wxArchiveFSCacheDataImpl::Get(const wxString& name) { AddToCache(entry); - if (entry->GetName() == name) + if (entry->GetName(wxPATH_UNIX) == name) return entry; }