Replaced lots of ANSI/ASCII strings with their

Unicode equivalents, i.e. I put wxT() arounf
    them in lots of places.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2002-10-29 21:48:06 +00:00
parent 0ab495989d
commit 54b25889d2
52 changed files with 554 additions and 475 deletions

View File

@@ -179,8 +179,8 @@ wxString wxZipFSHandler::DoFind()
while (match == wxEmptyString)
{
unzGetCurrentFileInfo((unzFile)m_Archive, NULL, namebuf, 1024, NULL, 0, NULL, 0);
for (c = namebuf; *c; c++) if (*c == wxT('\\')) *c = wxT('/');
namestr = namebuf;
for (c = namebuf; *c; c++) if (*c == '\\') *c = '/';
namestr = wxString::FromAscii( namebuf ); // TODO what encoding does ZIP use?
if (m_AllowDirs)
{