From: Ove Kaaven Date: Sun, 25 Jul 1999 05:41:29 +0000 (+0000) Subject: Unicode compilation fix X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/3a5815b583097e97bf9c0390ee73774b440b47a7 Unicode compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/generic/helphtml.cpp b/src/generic/helphtml.cpp index 3e0a648dee..aaab0eb9c1 100644 --- a/src/generic/helphtml.cpp +++ b/src/generic/helphtml.cpp @@ -219,13 +219,13 @@ wxHTMLHelpControllerBase::DisplayContents() bool rc = FALSE; wxString file; file << m_MapFile << WXEXTHELP_SEPARATOR << contents; - if(file.Contains('#')) - file = file.BeforeLast('#'); + if(file.Contains(_T('#'))) + file = file.BeforeLast(_T('#')); if(contents.Length() && wxFileExists(file)) rc = DisplaySection(CONTENTS_ID); // if not found, open homemade toc: - return rc ? TRUE : KeywordSearch(""); + return rc ? TRUE : KeywordSearch(_T("")); } bool